home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / source / packages / graphics / graphicx.dtx < prev    next >
LaTeX Document  |  1995-03-15  |  16.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX 2e document text default
99% file LaTeX document text default
98% file LaTeX document, ASCII text default
100% TrID LaTeX 2e document (with rem) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 0a 25 20 5c 69 66 66 | 61 6c 73 65 0a 25 0a 25 |%.% \iff|alse.%.%|
|00000010| 25 20 67 72 61 70 68 69 | 63 78 2e 64 74 78 20 43 |% graphi|cx.dtx C|
|00000020| 6f 70 79 72 69 67 68 74 | 20 28 43 29 20 31 39 39 |opyright| (C) 199|
|00000030| 34 20 44 61 76 69 64 20 | 43 61 72 6c 69 73 6c 65 |4 David |Carlisle|
|00000040| 20 53 65 62 61 73 74 69 | 61 6e 20 52 61 68 74 7a | Sebasti|an Rahtz|
|00000050| 0a 25 25 0a 25 25 20 54 | 68 69 73 20 66 69 6c 65 |.%%.%% T|his file|
|00000060| 20 69 73 20 70 61 72 74 | 20 6f 66 20 74 68 65 20 | is part| of the |
|00000070| 53 74 61 6e 64 61 72 64 | 20 4c 61 54 65 58 20 60 |Standard| LaTeX `|
|00000080| 47 72 61 70 68 69 63 73 | 20 42 75 6e 64 6c 65 27 |Graphics| Bundle'|
|00000090| 2e 0a 25 25 0a 25 25 20 | 49 74 20 73 68 6f 75 6c |..%%.%% |It shoul|
|000000a0| 64 20 62 65 20 64 69 73 | 74 72 69 62 75 74 65 64 |d be dis|tributed|
|000000b0| 20 2a 75 6e 63 68 61 6e | 67 65 64 2a 20 61 6e 64 | *unchan|ged* and|
|000000c0| 20 74 6f 67 65 74 68 65 | 72 20 77 69 74 68 20 61 | togethe|r with a|
|000000d0| 6c 6c 20 6f 74 68 65 72 | 0a 25 25 20 66 69 6c 65 |ll other|.%% file|
|000000e0| 73 20 69 6e 20 74 68 65 | 20 67 72 61 70 68 69 63 |s in the| graphic|
|000000f0| 73 20 62 75 6e 64 6c 65 | 2e 20 54 68 65 20 66 69 |s bundle|. The fi|
|00000100| 6c 65 20 30 30 72 65 61 | 64 6d 65 2e 74 78 74 20 |le 00rea|dme.txt |
|00000110| 63 6f 6e 74 61 69 6e 73 | 20 61 20 6c 69 73 74 0a |contains| a list.|
|00000120| 25 25 20 6f 66 20 61 6c | 6c 20 6f 66 20 74 68 65 |%% of al|l of the|
|00000130| 73 65 20 66 69 6c 65 73 | 2e 0a 25 25 0a 25 25 20 |se files|..%%.%% |
|00000140| 41 20 6d 6f 64 69 66 69 | 65 64 20 76 65 72 73 69 |A modifi|ed versi|
|00000150| 6f 6e 20 6f 66 20 74 68 | 69 73 20 66 69 6c 65 20 |on of th|is file |
|00000160| 6d 61 79 20 62 65 20 64 | 69 73 74 72 69 62 75 74 |may be d|istribut|
|00000170| 65 64 2c 20 62 75 74 20 | 69 74 20 73 68 6f 75 6c |ed, but |it shoul|
|00000180| 64 0a 25 25 20 62 65 20 | 64 69 73 74 72 69 62 75 |d.%% be |distribu|
|00000190| 74 65 64 20 77 69 74 68 | 20 61 20 2a 64 69 66 66 |ted with| a *diff|
|000001a0| 65 72 65 6e 74 2a 20 6e | 61 6d 65 2e 20 43 68 61 |erent* n|ame. Cha|
|000001b0| 6e 67 65 64 20 66 69 6c | 65 73 20 6d 75 73 74 20 |nged fil|es must |
|000001c0| 62 65 0a 25 25 20 64 69 | 73 74 72 69 62 75 74 65 |be.%% di|stribute|
|000001d0| 64 20 2a 74 6f 67 65 74 | 68 65 72 20 77 69 74 68 |d *toget|her with|
|000001e0| 20 61 20 63 6f 6d 70 6c | 65 74 65 20 61 6e 64 20 | a compl|ete and |
|000001f0| 75 6e 63 68 61 6e 67 65 | 64 2a 20 64 69 73 74 72 |unchange|d* distr|
|00000200| 69 62 75 74 69 6f 6e 0a | 25 25 20 6f 66 20 74 68 |ibution.|%% of th|
|00000210| 65 73 65 20 66 69 6c 65 | 73 2e 0a 25 25 0a 25 3c |ese file|s..%%.%<|
|00000220| 2a 64 74 78 3e 0a 20 20 | 20 20 20 20 20 20 20 20 |*dtx>. | |
|00000230| 5c 50 72 6f 76 69 64 65 | 73 46 69 6c 65 7b 67 72 |\Provide|sFile{gr|
|00000240| 61 70 68 69 63 78 2e 64 | 74 78 7d 0a 25 3c 2f 64 |aphicx.d|tx}.%</d|
|00000250| 74 78 3e 0a 25 3c 70 61 | 63 6b 61 67 65 3e 5c 4e |tx>.%<pa|ckage>\N|
|00000260| 65 65 64 73 54 65 58 46 | 6f 72 6d 61 74 7b 4c 61 |eedsTeXF|ormat{La|
|00000270| 54 65 58 32 65 7d 5b 31 | 39 39 34 2f 30 36 2f 30 |TeX2e}[1|994/06/0|
|00000280| 31 5d 0a 25 3c 70 61 63 | 6b 61 67 65 3e 5c 50 72 |1].%<pac|kage>\Pr|
|00000290| 6f 76 69 64 65 73 50 61 | 63 6b 61 67 65 7b 67 72 |ovidesPa|ckage{gr|
|000002a0| 61 70 68 69 63 78 7d 0a | 25 3c 64 72 69 76 65 72 |aphicx}.|%<driver|
|000002b0| 3e 20 5c 50 72 6f 76 69 | 64 65 73 46 69 6c 65 7b |> \Provi|desFile{|
|000002c0| 67 72 61 70 68 69 63 78 | 2e 64 72 76 7d 0a 25 20 |graphicx|.drv}.% |
|000002d0| 5c 66 69 0a 25 20 20 20 | 20 20 20 20 20 20 5c 50 |\fi.% | \P|
|000002e0| 72 6f 76 69 64 65 73 46 | 69 6c 65 7b 67 72 61 70 |rovidesF|ile{grap|
|000002f0| 68 69 63 78 2e 64 74 78 | 7d 0a 20 20 20 20 20 20 |hicx.dtx|}. |
|00000300| 20 20 20 20 5b 31 39 39 | 34 2f 31 31 2f 32 39 20 | [199|4/11/29 |
|00000310| 76 30 2e 35 61 20 45 6e | 68 61 6e 63 65 64 20 4c |v0.5a En|hanced L|
|00000320| 61 54 65 58 20 47 72 61 | 70 68 69 63 73 20 28 44 |aTeX Gra|phics (D|
|00000330| 50 43 2c 53 50 51 52 29 | 5d 0a 25 0a 25 20 5c 69 |PC,SPQR)|].%.% \i|
|00000340| 66 66 61 6c 73 65 0a 25 | 3c 2a 64 72 69 76 65 72 |ffalse.%|<*driver|
|00000350| 3e 0a 5c 64 6f 63 75 6d | 65 6e 74 63 6c 61 73 73 |>.\docum|entclass|
|00000360| 7b 6c 74 78 64 6f 63 7d | 0a 5c 62 65 67 69 6e 7b |{ltxdoc}|.\begin{|
|00000370| 64 6f 63 75 6d 65 6e 74 | 7d 0a 20 5c 44 6f 63 49 |document|}. \DocI|
|00000380| 6e 70 75 74 7b 67 72 61 | 70 68 69 63 78 2e 64 74 |nput{gra|phicx.dt|
|00000390| 78 7d 0a 5c 65 6e 64 7b | 64 6f 63 75 6d 65 6e 74 |x}.\end{|document|
|000003a0| 7d 0a 25 3c 2f 64 72 69 | 76 65 72 3e 0a 25 20 5c |}.%</dri|ver>.% \|
|000003b0| 66 69 0a 25 0a 25 20 5c | 47 65 74 46 69 6c 65 49 |fi.%.% \|GetFileI|
|000003c0| 6e 66 6f 7b 67 72 61 70 | 68 69 63 78 2e 64 74 78 |nfo{grap|hicx.dtx|
|000003d0| 7d 0a 25 0a 25 20 5c 74 | 69 74 6c 65 7b 54 68 65 |}.%.% \t|itle{The|
|000003e0| 20 5c 74 65 78 74 73 66 | 7b 67 72 61 70 68 69 63 | \textsf|{graphic|
|000003f0| 78 7d 20 70 61 63 6b 61 | 67 65 5c 74 68 61 6e 6b |x} packa|ge\thank|
|00000400| 73 7b 54 68 69 73 20 66 | 69 6c 65 0a 25 20 20 20 |s{This f|ile.% |
|00000410| 20 20 20 20 20 68 61 73 | 20 76 65 72 73 69 6f 6e | has| version|
|00000420| 20 6e 75 6d 62 65 72 20 | 5c 66 69 6c 65 76 65 72 | number |\filever|
|00000430| 73 69 6f 6e 2c 20 6c 61 | 73 74 0a 25 20 20 20 20 |sion, la|st.% |
|00000440| 20 20 20 20 72 65 76 69 | 73 65 64 20 5c 66 69 6c | revi|sed \fil|
|00000450| 65 64 61 74 65 2e 7d 7d | 0a 25 20 5c 61 75 74 68 |edate.}}|.% \auth|
|00000460| 6f 72 7b 44 2e 20 50 2e | 20 43 61 72 6c 69 73 6c |or{D. P.| Carlisl|
|00000470| 65 5c 61 6e 64 20 53 2e | 20 50 2e 20 51 2e 20 52 |e\and S.| P. Q. R|
|00000480| 61 68 74 7a 7d 0a 25 20 | 5c 64 61 74 65 7b 5c 66 |ahtz}.% |\date{\f|
|00000490| 69 6c 65 64 61 74 65 7d | 0a 25 20 5c 6d 61 6b 65 |iledate}|.% \make|
|000004a0| 74 69 74 6c 65 0a 25 0a | 25 20 5c 43 68 65 63 6b |title.%.|% \Check|
|000004b0| 53 75 6d 7b 33 39 35 7d | 0a 25 0a 25 20 5c 63 68 |Sum{395}|.%.% \ch|
|000004c0| 61 6e 67 65 73 7b 76 30 | 2e 33 7d 7b 31 39 39 34 |anges{v0|.3}{1994|
|000004d0| 2f 30 33 2f 30 31 7d 0a | 25 20 20 20 20 20 7b 46 |/03/01}.|% {F|
|000004e0| 69 72 73 74 20 44 50 43 | 20 76 65 72 73 69 6f 6e |irst DPC| version|
|000004f0| 20 28 61 66 74 65 72 20 | 70 72 6f 74 6f 74 79 70 | (after |prototyp|
|00000500| 65 20 62 79 20 53 50 51 | 52 29 2e 7d 0a 25 20 5c |e by SPQ|R).}.% \|
|00000510| 63 68 61 6e 67 65 73 7b | 76 30 2e 34 62 7d 7b 31 |changes{|v0.4b}{1|
|00000520| 39 39 34 2f 30 35 2f 33 | 30 7d 0a 25 20 20 20 20 |994/05/3|0}.% |
|00000530| 20 7b 52 65 6e 61 6d 65 | 20 66 72 6f 6d 20 65 67 | {Rename| from eg|
|00000540| 72 61 70 68 69 63 73 2e | 20 38 2b 33 20 6e 61 6d |raphics.| 8+3 nam|
|00000550| 65 20 66 6f 72 20 43 44 | 52 4f 4d 7d 0a 25 0a 25 |e for CD|ROM}.%.%|
|00000560| 20 5c 64 65 66 5c 73 74 | 61 72 7b 7b 5c 74 74 66 | \def\st|ar{{\ttf|
|00000570| 61 6d 69 6c 79 2a 7d 7d | 0a 25 20 5c 6d 61 6b 65 |amily*}}|.% \make|
|00000580| 61 74 6c 65 74 74 65 72 | 0a 25 20 5c 64 65 66 5c |atletter|.% \def\|
|00000590| 44 65 73 63 72 69 62 65 | 40 4d 61 63 72 6f 23 31 |Describe|@Macro#1|
|000005a0| 7b 5c 65 6e 64 67 72 6f | 75 70 0a 25 20 20 20 20 |{\endgro|up.% |
|000005b0| 20 20 20 20 20 20 20 20 | 20 20 5c 73 65 74 62 6f | | \setbo|
|000005c0| 78 30 3d 5c 6c 61 73 74 | 62 6f 78 5c 6c 6c 61 70 |x0=\last|box\llap|
|000005d0| 7b 5c 50 72 69 6e 74 44 | 65 73 63 72 69 62 65 4d |{\PrintD|escribeM|
|000005e0| 61 63 72 6f 7b 23 31 7d | 7d 7d 25 0a 25 20 5c 6d |acro{#1}|}}%.% \m|
|000005f0| 61 6b 65 61 74 6f 74 68 | 65 72 0a 25 20 5c 6d 61 |akeatoth|er.% \ma|
|00000600| 72 67 69 6e 70 61 72 73 | 65 70 30 70 74 0a 25 0a |rginpars|ep0pt.%.|
|00000610| 25 20 5c 73 65 63 74 69 | 6f 6e 7b 49 6e 74 72 6f |% \secti|on{Intro|
|00000620| 64 75 63 74 69 6f 6e 7d | 0a 25 0a 25 20 54 68 69 |duction}|.%.% Thi|
|00000630| 73 20 70 61 63 6b 61 67 | 65 20 70 72 6f 76 69 64 |s packag|e provid|
|00000640| 65 73 20 61 6e 20 61 6c | 74 65 72 6e 61 74 69 76 |es an al|ternativ|
|00000650| 65 20 69 6e 74 65 72 66 | 61 63 65 20 74 6f 20 74 |e interf|ace to t|
|00000660| 68 65 20 5c 4c 61 54 65 | 58 65 5c 0a 25 20 67 72 |he \LaTe|Xe\.% gr|
|00000670| 61 70 68 69 63 73 20 66 | 75 6e 63 74 69 6f 6e 73 |aphics f|unctions|
|00000680| 2e 20 54 68 65 20 63 6f | 6d 6d 61 6e 64 20 6e 61 |. The co|mmand na|
|00000690| 6d 65 73 20 70 72 6f 76 | 69 64 65 64 20 61 72 65 |mes prov|ided are|
|000006a0| 20 74 68 65 20 73 61 6d | 65 20 61 73 20 69 6e 20 | the sam|e as in |
|000006b0| 74 68 65 0a 25 20 73 74 | 61 6e 64 61 72 64 20 70 |the.% st|andard p|
|000006c0| 61 63 6b 61 67 65 2c 20 | 61 6e 64 20 74 68 65 79 |ackage, |and they|
|000006d0| 20 75 73 65 20 74 68 65 | 20 73 61 6d 65 20 69 6e | use the| same in|
|000006e0| 74 65 72 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 73 |ternal f|unctions|
|000006f0| 2e 20 48 6f 77 65 76 65 | 72 0a 25 20 74 68 65 20 |. Howeve|r.% the |
|00000700| 6d 65 61 6e 69 6e 67 20 | 6f 66 20 74 68 65 20 6f |meaning |of the o|
|00000710| 70 74 69 6f 6e 61 6c 20 | 61 72 67 75 6d 65 6e 74 |ptional |argument|
|00000720| 73 20 69 73 20 64 69 66 | 66 65 72 65 6e 74 2e 20 |s is dif|ferent. |
|00000730| 4e 6f 74 65 20 5c 65 6d | 70 68 7b 6f 6e 6c 79 7d |Note \em|ph{only}|
|00000740| 0a 25 20 74 68 65 20 6f | 70 74 69 6f 6e 61 6c 20 |.% the o|ptional |
|00000750| 61 72 67 75 6d 65 6e 74 | 73 20 68 61 76 65 20 63 |argument|s have c|
|00000760| 68 61 6e 67 65 64 3a 20 | 61 6e 79 20 64 6f 63 75 |hanged: |any docu|
|00000770| 6d 65 6e 74 20 77 68 69 | 63 68 20 6f 6e 6c 79 20 |ment whi|ch only |
|00000780| 75 73 65 73 20 74 68 65 | 0a 25 20 67 72 61 70 68 |uses the|.% graph|
|00000790| 69 63 73 20 63 6f 6d 6d | 61 6e 64 73 20 77 69 74 |ics comm|ands wit|
|000007a0| 68 20 74 68 65 20 6d 61 | 6e 64 61 74 6f 72 79 20 |h the ma|ndatory |
|000007b0| 61 72 67 75 6d 65 6e 74 | 73 20 61 6e 64 2f 6f 72 |argument|s and/or|
|000007c0| 20 74 68 65 20 73 74 61 | 72 2d 66 6f 72 6d 73 0a | the sta|r-forms.|
|000007d0| 25 20 77 69 6c 6c 20 77 | 6f 72 6b 20 69 64 65 6e |% will w|ork iden|
|000007e0| 74 69 63 61 6c 6c 79 20 | 28 77 69 74 68 20 65 73 |tically |(with es|
|000007f0| 73 65 6e 74 69 61 6c 6c | 79 20 69 64 65 6e 74 69 |sentiall|y identi|
|00000800| 63 61 6c 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |cal impl|ementati|
|00000810| 6f 6e 29 20 77 69 74 68 | 0a 25 20 74 68 65 20 74 |on) with|.% the t|
|00000820| 77 6f 20 70 61 63 6b 61 | 67 65 73 2e 0a 25 0a 25 |wo packa|ges..%.%|
|00000830| 20 5c 73 65 63 74 69 6f | 6e 7b 4b 65 79 3d 56 61 | \sectio|n{Key=Va|
|00000840| 6c 75 65 20 49 6e 74 65 | 72 66 61 63 65 7d 0a 25 |lue Inte|rface}.%|
|00000850| 20 57 68 65 6e 20 74 68 | 65 20 64 65 63 69 73 69 | When th|e decisi|
|00000860| 6f 6e 20 74 6f 20 70 72 | 6f 64 75 63 65 20 5c 4c |on to pr|oduce \L|
|00000870| 61 54 65 58 65 5c 20 77 | 61 73 20 6d 61 64 65 2c |aTeXe\ w|as made,|
|00000880| 20 63 65 72 74 61 69 6e | 20 60 67 75 69 64 69 6e | certain| `guidin|
|00000890| 67 0a 25 20 70 72 69 6e | 63 69 70 6c 65 73 27 20 |g.% prin|ciples' |
|000008a0| 77 65 72 65 20 6d 61 64 | 65 20 28 61 6e 64 20 70 |were mad|e (and p|
|000008b0| 75 62 6c 69 73 68 65 64 | 20 69 6e 20 74 68 65 20 |ublished| in the |
|000008c0| 6f 72 69 67 69 6e 61 6c | 20 61 6e 6e 6f 75 6e 63 |original| announc|
|000008d0| 65 6d 65 6e 74 29 2e 0a | 25 20 4f 6e 65 20 6f 66 |ement)..|% One of|
|000008e0| 20 74 68 65 73 65 20 77 | 61 73 20 74 68 61 74 20 | these w|as that |
|000008f0| 61 6c 6c 20 6e 65 77 20 | 66 65 61 74 75 72 65 73 |all new |features|
|00000900| 20 77 6f 75 6c 64 20 60 | 63 6f 6e 66 6f 72 6d 20 | would `|conform |
|00000910| 74 6f 20 74 68 65 0a 25 | 20 63 6f 6e 76 65 6e 74 |to the.%| convent|
|00000920| 69 6f 6e 73 20 6f 66 20 | 76 65 72 73 69 6f 6e 20 |ions of |version |
|00000930| 32 2e 30 39 27 2e 20 53 | 70 65 63 69 66 69 63 61 |2.09'. S|pecifica|
|00000940| 6c 6c 79 20 74 68 69 73 | 20 6d 65 61 6e 74 20 74 |lly this| meant t|
|00000950| 68 61 74 20 6e 65 77 0a | 25 20 63 6f 6d 6d 61 6e |hat new.|% comman|
|00000960| 64 73 20 77 6f 75 6c 64 | 20 6f 62 65 79 20 74 68 |ds would| obey th|
|00000970| 65 20 73 61 6d 65 20 62 | 61 73 69 63 20 73 79 6e |e same b|asic syn|
|00000980| 74 61 78 20 72 75 6c 65 | 73 20 66 6f 72 20 61 72 |tax rule|s for ar|
|00000990| 67 75 6d 65 6e 74 73 20 | 61 73 20 74 68 65 0a 25 |guments |as the.%|
|000009a0| 20 65 78 69 73 74 69 6e | 67 20 63 6f 6d 6d 61 6e | existin|g comman|
|000009b0| 64 73 2e 0a 25 0a 25 20 | 53 74 61 6e 64 61 72 64 |ds..%.% |Standard|
|000009c0| 20 5c 4c 61 54 65 58 5c | 20 6f 70 74 69 6f 6e 61 | \LaTeX\| optiona|
|000009d0| 6c 20 61 72 67 75 6d 65 | 6e 74 73 20 61 72 65 20 |l argume|nts are |
|000009e0| 5c 65 6d 70 68 7b 70 6f | 73 69 74 69 6f 6e 61 6c |\emph{po|sitional|
|000009f0| 7d 20 69 66 20 61 20 63 | 6f 6d 6d 61 6e 64 0a 25 |} if a c|ommand.%|
|00000a00| 20 77 65 72 65 20 74 6f | 20 74 61 6b 65 20 74 68 | were to| take th|
|00000a10| 72 65 65 20 6f 70 74 69 | 6f 6e 61 6c 20 61 72 67 |ree opti|onal arg|
|00000a20| 75 6d 65 6e 74 73 2c 20 | 74 68 65 6e 20 74 68 65 |uments, |then the|
|00000a30| 72 65 20 77 6f 75 6c 64 | 20 62 65 20 6e 6f 20 77 |re would| be no w|
|00000a40| 61 79 20 6f 66 0a 25 20 | 73 70 65 63 69 66 79 69 |ay of.% |specifyi|
|00000a50| 6e 67 20 6f 6e 6c 79 20 | 74 68 65 20 74 68 69 72 |ng only |the thir|
|00000a60| 64 2c 20 6f 6e 65 20 77 | 6f 75 6c 64 20 68 61 76 |d, one w|ould hav|
|00000a70| 65 20 74 6f 20 67 69 76 | 65 20 61 6c 6c 20 74 68 |e to giv|e all th|
|00000a80| 72 65 65 2c 20 65 76 65 | 6e 20 69 66 0a 25 20 74 |ree, eve|n if.% t|
|00000a90| 68 65 20 66 69 72 73 74 | 20 74 77 6f 20 77 65 72 |he first| two wer|
|00000aa0| 65 20 72 65 70 65 61 74 | 73 20 6f 66 20 74 68 65 |e repeat|s of the|
|00000ab0| 20 64 65 66 61 75 6c 74 | 20 76 61 6c 75 65 73 2e | default| values.|
|00000ac0| 20 42 61 73 69 63 61 6c | 6c 79 20 74 68 69 73 20 | Basical|ly this |
|00000ad0| 6d 65 61 6e 73 0a 25 20 | 74 68 61 74 20 60 73 74 |means.% |that `st|
|00000ae0| 61 6e 64 61 72 64 27 20 | 6f 70 74 69 6f 6e 61 6c |andard' |optional|
|00000af0| 20 61 72 67 75 6d 65 6e | 74 73 20 61 72 65 20 6e | argumen|ts are n|
|00000b00| 6f 74 20 73 75 69 74 61 | 62 6c 65 20 69 66 20 74 |ot suita|ble if t|
|00000b10| 68 65 72 65 20 69 73 20 | 6d 6f 72 65 0a 25 20 74 |here is |more.% t|
|00000b20| 68 61 6e 20 6f 6e 65 20 | 6f 70 74 69 6f 6e 2e 20 |han one |option. |
|00000b30| 56 61 72 69 6f 75 73 20 | 65 78 69 73 74 69 6e 67 |Various |existing|
|00000b40| 20 70 61 63 6b 61 67 65 | 73 20 28 66 6f 72 20 5c | package|s (for \|
|00000b50| 4c 61 54 65 58 7e 32 2e | 30 39 29 20 68 61 76 65 |LaTeX~2.|09) have|
|00000b60| 0a 25 20 72 65 63 6f 67 | 6e 69 73 65 64 20 74 68 |.% recog|nised th|
|00000b70| 69 73 2c 20 61 6e 64 20 | 75 73 65 64 20 60 6e 61 |is, and |used `na|
|00000b80| 6d 65 64 20 61 72 67 75 | 6d 65 6e 74 73 27 20 69 |med argu|ments' i|
|00000b90| 6e 20 76 61 72 69 6f 75 | 73 20 66 6f 72 6d 73 2e |n variou|s forms.|
|00000ba0| 20 50 65 72 68 61 70 73 | 0a 25 20 74 65 68 20 74 | Perhaps|.% teh t|
|00000bb0| 77 6f 20 6d 6f 73 74 20 | 6e 6f 74 69 63 65 61 62 |wo most |noticeab|
|00000bc0| 6c 65 20 61 72 65 20 7c | 70 73 66 69 67 7c 20 61 |le are ||psfig| a|
|00000bd0| 6e 64 20 7c 70 73 74 72 | 69 63 6b 73 7c 2e 20 57 |nd |pstr|icks|. W|
|00000be0| 69 74 68 20 60 6e 61 6d | 65 64 0a 25 20 61 72 67 |ith `nam|ed.% arg|
|00000bf0| 75 6d 65 6e 74 73 27 20 | 28 73 6f 6d 65 74 69 6d |uments' |(sometim|
|00000c00| 65 73 20 63 61 6c 6c 65 | 64 20 60 61 74 74 72 69 |es calle|d `attri|
|00000c10| 62 75 74 65 73 27 29 20 | 65 61 63 68 20 6f 70 74 |butes') |each opt|
|00000c20| 69 6f 6e 20 69 73 20 6e | 6f 74 20 74 69 65 64 20 |ion is n|ot tied |
|00000c30| 74 6f 0a 25 20 61 20 70 | 61 72 74 69 63 75 6c 61 |to.% a p|articula|
|00000c40| 72 20 70 6f 73 69 74 69 | 6f 6e 2c 20 62 75 74 20 |r positi|on, but |
|00000c50| 72 61 74 68 65 72 20 67 | 69 76 65 6e 20 61 20 6e |rather g|iven a n|
|00000c60| 61 6d 65 20 28 6f 72 20 | 6b 65 79 29 20 61 6e 64 |ame (or |key) and|
|00000c70| 20 61 6e 79 0a 25 20 6f | 70 74 69 6f 6e 73 20 74 | any.% o|ptions t|
|00000c80| 68 61 74 20 6d 75 73 74 | 20 62 65 20 73 65 74 20 |hat must| be set |
|00000c90| 61 72 65 20 73 65 74 20 | 62 79 20 65 78 70 6c 69 |are set |by expli|
|00000ca0| 63 69 74 6c 79 20 61 73 | 73 6f 63 69 61 74 69 6e |citly as|sociatin|
|00000cb0| 67 20 74 68 69 73 20 6e | 61 6d 65 0a 25 20 77 69 |g this n|ame.% wi|
|00000cc0| 74 68 20 74 68 65 20 64 | 65 73 69 72 65 64 20 76 |th the d|esired v|
|00000cd0| 61 6c 75 65 2e 0a 25 0a | 25 20 54 68 65 20 6d 65 |alue..%.|% The me|
|00000ce0| 6d 62 65 72 73 20 6f 66 | 20 74 68 65 20 5c 4c 61 |mbers of| the \La|
|00000cf0| 54 65 58 33 20 70 72 6f | 6a 65 63 74 20 64 6f 20 |TeX3 pro|ject do |
|00000d00| 61 70 70 72 65 63 69 61 | 74 65 20 74 68 65 20 69 |apprecia|te the i|
|00000d10| 6d 70 6f 72 74 61 6e 63 | 65 20 6f 66 0a 25 20 74 |mportanc|e of.% t|
|00000d20| 68 69 73 20 6b 69 6e 64 | 20 6f 66 20 73 79 6e 74 |his kind| of synt|
|00000d30| 61 78 2c 20 62 75 74 20 | 66 65 6c 74 20 74 68 61 |ax, but |felt tha|
|00000d40| 74 20 72 61 74 68 65 72 | 20 74 68 61 6e 20 65 78 |t rather| than ex|
|00000d50| 74 65 6e 64 69 6e 67 20 | 74 68 65 20 73 79 6e 74 |tending |the synt|
|00000d60| 61 78 20 6f 66 0a 25 20 | 5c 4c 61 54 65 58 5c 20 |ax of.% |\LaTeX\ |
|00000d70| 69 6e 20 61 6e 20 75 6e | 63 6f 6f 72 64 69 6e 61 |in an un|coordina|
|00000d80| 74 65 64 20 77 61 79 2c | 20 69 74 20 77 6f 75 6c |ted way,| it woul|
|00000d90| 64 20 62 65 20 62 65 74 | 74 65 72 20 74 6f 20 6b |d be bet|ter to k|
|00000da0| 65 65 70 20 77 69 74 68 | 0a 25 20 60 73 74 61 6e |eep with|.% `stan|
|00000db0| 64 61 72 64 20 61 72 67 | 75 6d 65 6e 74 73 27 20 |dard arg|uments' |
|00000dc0| 69 6e 20 5c 4c 61 54 65 | 58 65 2c 20 77 68 69 63 |in \LaTe|Xe, whic|
|00000dd0| 68 20 69 73 20 69 6e 74 | 65 6e 64 65 64 20 61 73 |h is int|ended as|
|00000de0| 20 61 20 60 63 6f 6e 73 | 6f 6c 69 64 61 74 69 6f | a `cons|olidatio|
|00000df0| 6e 0a 25 20 6f 66 20 65 | 78 69 73 74 69 6e 67 20 |n.% of e|xisting |
|00000e00| 5c 4c 61 54 65 58 5c 20 | 76 61 72 69 61 6e 74 73 |\LaTeX\ |variants|
|00000e10| 27 2e 20 54 68 65 20 6c | 6f 6e 67 20 74 65 72 6d |'. The l|ong term|
|00000e20| 20 70 6c 61 6e 6e 69 6e | 67 20 66 6f 72 20 61 6e | plannin|g for an|
|00000e30| 20 65 76 65 6e 74 75 61 | 6c 0a 25 20 5c 4c 61 54 | eventua|l.% \LaT|
|00000e40| 65 58 33 20 72 65 6c 65 | 61 73 65 20 77 69 6c 6c |eX3 rele|ase will|
|00000e50| 20 74 68 65 6e 20 62 65 | 20 61 62 6c 65 20 74 6f | then be| able to|
|00000e60| 20 63 6f 6e 73 69 64 65 | 72 20 74 68 65 20 77 68 | conside|r the wh|
|00000e70| 6f 6c 65 20 5c 4c 61 54 | 65 58 5c 0a 25 20 75 73 |ole \LaT|eX\.% us|
|00000e80| 65 72 20 69 6e 74 65 72 | 66 61 63 65 2c 20 61 6e |er inter|face, an|
|00000e90| 64 20 61 20 73 75 69 74 | 61 62 6c 65 20 73 79 6e |d a suit|able syn|
|00000ea0| 74 61 78 20 66 6f 72 20 | 6e 61 6d 65 64 20 61 72 |tax for |named ar|
|00000eb0| 67 75 6d 65 6e 74 73 2e | 20 49 74 20 69 73 0a 25 |guments.| It is.%|
|00000ec0| 20 69 6d 70 6f 72 74 61 | 6e 74 20 74 68 61 74 20 | importa|nt that |
|00000ed0| 73 75 63 68 20 61 6e 20 | 69 6e 74 65 72 66 61 63 |such an |interfac|
|00000ee0| 65 20 64 65 73 69 67 6e | 20 69 73 20 6e 6f 74 20 |e design| is not |
|00000ef0| 68 61 6d 70 65 72 65 64 | 20 62 79 20 68 61 76 69 |hampered| by havi|
|00000f00| 6e 67 20 74 6f 0a 25 20 | 72 65 74 61 69 6e 20 63 |ng to.% |retain c|
|00000f10| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 20 77 69 74 |ompatibi|lity wit|
|00000f20| 68 20 65 61 72 6c 69 65 | 72 20 61 74 74 65 6d 70 |h earlie|r attemp|
|00000f30| 74 73 20 61 74 20 61 20 | 6e 61 6d 65 64 20 61 72 |ts at a |named ar|
|00000f40| 67 75 6d 65 6e 74 0a 25 | 20 73 79 6e 74 61 78 2e |gument.%| syntax.|
|00000f50| 20 46 6f 72 20 74 68 69 | 73 20 72 65 61 73 6f 6e | For thi|s reason|
|00000f60| 20 74 68 69 73 20 7c 67 | 72 61 70 68 69 63 78 7c | this |g|raphicx||
|00000f70| 20 70 61 63 6b 61 67 65 | 2c 20 77 68 69 63 68 20 | package|, which |
|00000f80| 75 73 65 73 20 74 68 65 | 20 6e 61 6d 65 64 0a 25 |uses the| named.%|
|00000f90| 20 61 72 67 75 6d 65 6e | 74 20 6d 65 63 68 61 6e | argumen|t mechan|
|00000fa0| 69 73 6d 20 66 72 6f 6d | 20 74 68 65 20 7c 6b 65 |ism from| the |ke|
|00000fb0| 79 76 61 6c 7c 20 70 61 | 63 6b 61 67 65 20 73 68 |yval| pa|ckage sh|
|00000fc0| 6f 75 6c 64 20 62 65 20 | 63 6f 6e 73 69 64 65 72 |ould be |consider|
|00000fd0| 65 64 20 60 6e 6f 6e 0a | 25 20 73 74 61 6e 64 61 |ed `non.|% standa|
|00000fe0| 72 64 27 20 61 6c 74 68 | 6f 75 67 68 20 69 74 20 |rd' alth|ough it |
|00000ff0| 69 73 20 73 75 70 70 6f | 72 74 65 64 20 62 79 20 |is suppo|rted by |
|00001000| 74 68 65 20 73 61 6d 65 | 20 6d 65 63 68 61 6e 69 |the same| mechani|
|00001010| 73 6d 2c 20 61 6e 64 20 | 73 61 6d 65 0a 25 20 61 |sm, and |same.% a|
|00001020| 75 74 68 6f 72 73 20 61 | 73 20 74 68 65 20 60 73 |uthors a|s the `s|
|00001030| 74 61 6e 64 61 72 64 27 | 20 7c 67 72 61 70 68 69 |tandard'| |graphi|
|00001040| 63 73 7c 20 70 61 63 6b | 61 67 65 2e 0a 0a 25 20 |cs| pack|age...% |
|00001050| 5c 73 65 63 74 69 6f 6e | 7b 54 68 65 20 55 73 65 |\section|{The Use|
|00001060| 72 20 49 6e 74 65 72 66 | 61 63 65 7d 0a 25 0a 25 |r Interf|ace}.%.%|
|00001070| 20 5c 44 65 73 63 72 69 | 62 65 4d 61 63 72 6f 0a | \Descri|beMacro.|
|00001080| 25 20 20 20 20 20 5c 69 | 6e 63 6c 75 64 65 67 72 |% \i|ncludegr|
|00001090| 61 70 68 69 63 73 5c 73 | 74 61 72 5c 6f 61 72 67 |aphics\s|tar\oarg|
|000010a0| 7b 6b 65 79 2d 76 61 6c | 20 6c 69 73 74 7d 5c 6d |{key-val| list}\m|
|000010b0| 61 72 67 7b 66 69 6c 65 | 7d 5c 5c 0a 25 20 5c 44 |arg{file|}\\.% \D|
|000010c0| 65 73 63 72 69 62 65 4d | 61 63 72 6f 0a 25 20 20 |escribeM|acro.% |
|000010d0| 20 20 20 5c 69 6e 63 6c | 75 64 65 67 72 61 70 68 | \incl|udegraph|
|000010e0| 69 63 73 5c 73 74 61 72 | 5c 6f 61 72 67 7b 6c 6c |ics\star|\oarg{ll|
|000010f0| 78 2c 6c 6c 79 7d 5c 6f | 61 72 67 7b 75 72 78 2c |x,lly}\o|arg{urx,|
|00001100| 75 72 79 7d 5c 6d 61 72 | 67 7b 66 69 6c 65 7d 5c |ury}\mar|g{file}\|
|00001110| 5c 0a 25 20 49 6e 63 6c | 75 64 65 20 61 20 67 72 |\.% Incl|ude a gr|
|00001120| 61 70 68 69 63 73 20 66 | 69 6c 65 2e 0a 25 20 0a |aphics f|ile..% .|
|00001130| 25 20 54 68 65 20 73 74 | 61 72 20 66 6f 72 6d 20 |% The st|ar form |
|00001140| 69 73 20 6a 75 73 74 20 | 66 6f 72 0a 25 20 63 6f |is just |for.% co|
|00001150| 6d 70 61 74 69 62 69 6c | 69 74 79 20 77 69 74 68 |mpatibil|ity with|
|00001160| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 20 69 6e | the sta|ndard in|
|00001170| 74 65 72 66 61 63 65 2c | 20 61 6e 64 20 65 73 73 |terface,| and ess|
|00001180| 65 6e 74 69 61 6c 6c 79 | 20 6a 75 73 74 20 61 64 |entially| just ad|
|00001190| 64 73 0a 25 20 7c 63 6c | 69 70 7c 20 74 6f 20 74 |ds.% |cl|ip| to t|
|000011a0| 68 65 20 6b 65 79 73 20 | 73 70 65 63 69 66 69 65 |he keys |specifie|
|000011b0| 64 2e 20 53 69 6d 69 6c | 61 72 6c 79 20 74 68 65 |d. Simil|arly the|
|000011c0| 20 73 65 63 6f 6e 64 2c | 20 74 77 6f 2d 6f 70 74 | second,| two-opt|
|000011d0| 69 6f 6e 61 6c 0a 25 20 | 61 72 67 75 6d 65 6e 74 |ional.% |argument|
|000011e0| 20 66 6f 72 6d 20 69 73 | 20 66 6f 72 20 69 6e 63 | form is| for inc|
|000011f0| 72 65 61 73 65 64 20 63 | 6f 6d 70 61 74 69 62 69 |reased c|ompatibi|
|00001200| 6c 69 74 79 20 77 69 74 | 68 20 74 68 65 20 73 74 |lity wit|h the st|
|00001210| 61 6e 64 61 72 64 0a 25 | 20 70 61 63 6b 61 67 65 |andard.%| package|
|00001220| 2e 20 54 68 65 20 74 77 | 6f 20 6f 70 74 69 6f 6e |. The tw|o option|
|00001230| 61 6c 20 61 72 67 75 6d | 65 6e 74 20 66 6f 72 6d |al argum|ent form|
|00001240| 20 69 73 20 6e 6f 74 20 | 6e 65 65 64 65 64 20 69 | is not |needed i|
|00001250| 6e 20 74 68 65 20 7c 6b | 65 79 76 61 6c 7c 0a 25 |n the |k|eyval|.%|
|00001260| 20 69 6e 74 65 72 66 61 | 63 65 2e 20 0a 0a 25 20 | interfa|ce. ..% |
|00001270| 56 61 72 69 6f 75 73 20 | 60 6b 65 79 73 27 20 6f |Various |`keys' o|
|00001280| 72 20 6e 61 6d 65 64 20 | 61 72 67 75 6d 65 6e 74 |r named |argument|
|00001290| 73 20 61 72 65 20 73 75 | 70 70 6f 72 74 65 64 2e |s are su|pported.|
|000012a0| 0a 25 20 5c 62 65 67 69 | 6e 7b 64 65 73 63 72 69 |.% \begi|n{descri|
|000012b0| 70 74 69 6f 6e 7d 0a 25 | 20 5c 69 74 65 6d 5b 62 |ption}.%| \item[b|
|000012c0| 62 5d 20 53 65 74 20 74 | 68 65 20 62 6f 75 6e 64 |b] Set t|he bound|
|000012d0| 69 6e 67 20 62 6f 78 2e | 20 54 68 65 20 61 72 67 |ing box.| The arg|
|000012e0| 75 6d 65 6e 74 20 73 68 | 6f 75 6c 64 20 62 65 20 |ument sh|ould be |
|000012f0| 66 6f 75 72 0a 25 20 64 | 69 6d 65 6e 73 69 6f 6e |four.% d|imension|
|00001300| 73 2c 20 73 65 70 61 72 | 61 74 65 64 20 62 79 20 |s, separ|ated by |
|00001310| 73 70 61 63 65 73 2e 20 | 0a 25 20 5c 69 74 65 6d |spaces. |.% \item|
|00001320| 5b 62 62 6c 6c 78 2c 62 | 62 6c 6c 79 2c 62 62 75 |[bbllx,b|blly,bbu|
|00001330| 72 78 2c 62 62 75 72 79 | 5d 20 53 65 74 20 74 68 |rx,bbury|] Set th|
|00001340| 65 20 62 6f 75 6e 64 69 | 6e 67 20 62 6f 78 2e 20 |e boundi|ng box. |
|00001350| 4d 61 69 6e 6c 79 20 66 | 6f 72 0a 25 20 63 6f 6d |Mainly f|or.% com|
|00001360| 70 61 74 69 62 69 6c 69 | 74 79 20 77 69 74 68 20 |patibili|ty with |
|00001370| 6f 6c 64 65 72 20 70 61 | 63 6b 61 67 65 73 2e 20 |older pa|ckages. |
|00001380| 7c 62 62 6c 6c 78 3d 61 | 2c 62 62 6c 6c 79 3d 62 ||bbllx=a|,bblly=b|
|00001390| 2c 62 62 75 72 78 3d 63 | 2c 62 62 75 72 79 3d 64 |,bburx=c|,bbury=d|
|000013a0| 7c 0a 25 20 69 73 20 65 | 71 75 69 76 61 6c 65 6e ||.% is e|quivalen|
|000013b0| 74 20 74 6f 20 7c 62 62 | 20 3d 20 61 20 62 20 63 |t to |bb| = a b c|
|000013c0| 20 64 7c 2e 0a 25 20 5c | 69 74 65 6d 5b 6e 61 74 | d|..% \|item[nat|
|000013d0| 77 69 64 74 68 2c 6e 61 | 74 68 65 69 67 68 74 5d |width,na|theight]|
|000013e0| 20 41 67 61 69 6e 20 61 | 6e 20 61 6c 74 65 72 6e | Again a|n altern|
|000013f0| 61 74 69 76 65 20 74 6f | 20 7c 62 62 7c 2e 20 0a |ative to| |bb|. .|
|00001400| 25 20 7c 6e 61 74 68 65 | 69 67 68 74 3d 68 2c 6e |% |nathe|ight=h,n|
|00001410| 61 74 77 69 64 74 68 3d | 77 7c 20 69 73 20 65 71 |atwidth=|w| is eq|
|00001420| 69 76 61 6c 65 6e 74 20 | 74 6f 20 7c 62 62 20 3d |ivalent |to |bb =|
|00001430| 20 30 20 30 20 68 20 77 | 7c 2e 0a 25 20 5c 69 74 | 0 0 h w||..% \it|
|00001440| 65 6d 5b 61 6e 67 6c 65 | 5d 20 52 6f 74 61 74 69 |em[angle|] Rotati|
|00001450| 6f 6e 20 61 6e 67 6c 65 | 2e 0a 25 20 5c 69 74 65 |on angle|..% \ite|
|00001460| 6d 5b 77 69 64 74 68 5d | 20 52 65 71 75 69 72 65 |m[width]| Require|
|00001470| 64 20 77 69 64 74 68 2c | 20 61 20 64 69 6d 65 6e |d width,| a dimen|
|00001480| 73 69 6f 6e 20 28 64 65 | 66 61 75 6c 74 20 75 6e |sion (de|fault un|
|00001490| 69 74 73 20 7c 62 70 7c | 29 2e 20 54 68 65 0a 25 |its |bp||). The.%|
|000014a0| 20 67 72 61 70 68 69 63 | 20 77 69 6c 6c 20 62 65 | graphic| will be|
|000014b0| 20 73 63 61 6c 65 64 20 | 74 6f 20 6d 61 6b 65 20 | scaled |to make |
|000014c0| 74 68 65 20 77 69 64 74 | 68 20 74 68 65 20 73 70 |the widt|h the sp|
|000014d0| 65 63 69 66 69 65 64 20 | 64 69 6d 65 6e 73 69 6f |ecified |dimensio|
|000014e0| 6e 2e 0a 25 20 5c 69 74 | 65 6d 5b 68 65 69 67 68 |n..% \it|em[heigh|
|000014f0| 74 5d 20 52 65 71 75 69 | 72 65 64 20 68 65 69 67 |t] Requi|red heig|
|00001500| 68 74 2e 20 61 20 64 69 | 6d 65 6e 73 69 6f 6e 20 |ht. a di|mension |
|00001510| 28 64 65 66 61 75 6c 74 | 20 75 6e 69 74 73 20 7c |(default| units ||
|00001520| 62 70 7c 29 2e 0a 25 20 | 5c 69 74 65 6d 5b 73 63 |bp|)..% |\item[sc|
|00001530| 61 6c 65 5d 20 53 63 61 | 6c 65 20 66 61 63 74 6f |ale] Sca|le facto|
|00001540| 72 2e 0a 25 20 5c 69 74 | 65 6d 5b 63 6c 69 70 5d |r..% \it|em[clip]|
|00001550| 20 45 69 74 68 65 72 20 | 60 74 72 75 65 27 20 6f | Either |`true' o|
|00001560| 72 20 60 66 61 6c 73 65 | 27 20 28 6f 72 20 6e 6f |r `false|' (or no|
|00001570| 20 76 61 6c 75 65 2c 20 | 77 68 69 63 68 20 69 73 | value, |which is|
|00001580| 20 65 71 75 69 76 61 6c | 65 6e 74 0a 25 20 74 6f | equival|ent.% to|
|00001590| 20 60 74 72 75 65 27 29 | 2e 20 43 6c 69 70 20 74 | `true')|. Clip t|
|000015a0| 68 65 20 67 72 61 70 68 | 69 63 20 74 6f 20 74 68 |he graph|ic to th|
|000015b0| 65 20 62 6f 75 6e 64 69 | 6e 67 20 62 6f 78 2e 0a |e boundi|ng box..|
|000015c0| 25 20 5c 69 74 65 6d 5b | 64 72 61 66 74 5d 20 61 |% \item[|draft] a|
|000015d0| 20 62 6f 6f 6c 65 61 6e | 20 76 61 6c 75 65 64 20 | boolean| valued |
|000015e0| 6b 65 79 2c 20 6c 69 6b | 65 20 60 63 6c 69 70 27 |key, lik|e `clip'|
|000015f0| 2e 20 6c 6f 63 61 6c 6c | 79 20 73 77 69 74 63 68 |. locall|y switch|
|00001600| 65 73 20 74 6f 0a 25 20 | 64 72 61 66 74 20 6d 6f |es to.% |draft mo|
|00001610| 64 65 2c 20 69 65 2e 5c | 20 64 6f 20 6e 6f 74 20 |de, ie.\| do not |
|00001620| 69 6e 63 6c 75 64 65 20 | 74 68 65 20 67 72 61 70 |include |the grap|
|00001630| 68 69 63 2c 20 62 75 74 | 20 6c 65 61 76 65 20 74 |hic, but| leave t|
|00001640| 68 65 0a 25 20 63 6f 72 | 72 65 63 74 20 73 70 61 |he.% cor|rect spa|
|00001650| 63 65 2c 20 61 6e 64 20 | 70 72 69 6e 74 20 74 68 |ce, and |print th|
|00001660| 65 20 66 69 6c 65 6e 61 | 6d 65 2e 0a 25 20 5c 69 |e filena|me..% \i|
|00001670| 74 65 6d 5b 74 79 70 65 | 5d 20 53 70 65 63 69 66 |tem[type|] Specif|
|00001680| 79 20 74 68 65 20 66 69 | 6c 65 20 74 79 70 65 2e |y the fi|le type.|
|00001690| 20 28 4e 6f 72 6d 61 6c | 6c 79 20 64 65 74 65 72 | (Normal|ly deter|
|000016a0| 6d 69 6e 65 64 20 66 72 | 6f 6d 20 74 68 65 20 66 |mined fr|om the f|
|000016b0| 69 6c 65 0a 25 20 65 78 | 74 65 6e 73 69 6f 6e 2e |ile.% ex|tension.|
|000016c0| 29 20 0a 25 20 5c 69 74 | 65 6d 5b 65 78 74 5d 20 |) .% \it|em[ext] |
|000016d0| 53 70 65 63 69 66 79 20 | 74 68 65 20 66 69 6c 65 |Specify |the file|
|000016e0| 20 65 78 74 65 6e 73 69 | 6f 6e 2c 20 66 6f 72 20 | extensi|on, for |
|000016f0| 75 73 65 20 77 69 74 68 | 20 7c 74 79 70 65 7c 2e |use with| |type|.|
|00001700| 0a 25 20 5c 69 74 65 6d | 5b 72 65 61 64 5d 20 53 |.% \item|[read] S|
|00001710| 70 65 63 69 66 79 20 74 | 68 65 20 60 72 65 61 64 |pecify t|he `read|
|00001720| 20 66 69 6c 65 27 20 77 | 68 69 63 68 20 69 73 20 | file' w|hich is |
|00001730| 75 73 65 64 20 66 6f 72 | 20 64 65 74 65 72 6d 69 |used for| determi|
|00001740| 6e 69 6e 67 20 74 68 65 | 0a 25 20 73 69 7a 65 20 |ning the|.% size |
|00001750| 6f 66 20 74 68 65 20 67 | 72 61 70 68 69 63 2e 20 |of the g|raphic. |
|00001760| 46 6f 72 20 75 73 65 20 | 77 69 74 68 20 7c 74 79 |For use |with |ty|
|00001770| 70 65 7c 2e 0a 25 20 5c | 69 74 65 6d 5b 63 6f 6d |pe|..% \|item[com|
|00001780| 6d 61 6e 64 5d 20 53 70 | 65 63 69 66 79 20 74 68 |mand] Sp|ecify th|
|00001790| 65 20 66 69 6c 65 20 63 | 6f 6d 6d 61 6e 64 2c 20 |e file c|ommand, |
|000017a0| 66 6f 72 20 75 73 65 20 | 77 69 74 68 20 7c 74 79 |for use |with |ty|
|000017b0| 70 65 7c 2e 0a 25 20 5c | 65 6e 64 7b 64 65 73 63 |pe|..% \|end{desc|
|000017c0| 72 69 70 74 69 6f 6e 7d | 0a 25 0a 25 20 54 68 65 |ription}|.%.% The|
|000017d0| 20 61 72 67 75 6d 65 6e | 74 73 20 61 72 65 20 69 | argumen|ts are i|
|000017e0| 6e 74 65 72 70 72 65 74 | 65 64 20 6c 65 66 74 20 |nterpret|ed left |
|000017f0| 74 6f 20 72 69 67 68 74 | 2e 20 7c 63 6c 69 70 7c |to right|. |clip||
|00001800| 2c 20 7c 64 72 61 66 74 | 7c 2c 20 7c 62 62 7c 2c |, |draft||, |bb|,|
|00001810| 2c 0a 25 20 61 6e 64 20 | 7c 6c 6c 78 7c 20 65 74 |,.% and ||llx| et|
|00001820| 63 20 68 61 76 65 20 74 | 68 65 20 73 61 6d 65 20 |c have t|he same |
|00001830| 65 66 66 65 63 74 20 77 | 68 65 72 65 76 65 72 20 |effect w|herever |
|00001840| 74 68 65 79 20 61 70 70 | 65 61 72 2e 20 62 75 74 |they app|ear. but|
|00001850| 20 74 68 65 0a 25 20 73 | 63 61 6c 69 6e 67 20 61 | the.% s|caling a|
|00001860| 6e 64 20 72 6f 74 61 74 | 69 6f 6e 20 6b 65 79 73 |nd rotat|ion keys|
|00001870| 20 69 6e 74 65 72 61 63 | 74 2e 0a 25 0a 25 20 41 | interac|t..%.% A|
|00001880| 6e 79 20 73 63 61 6c 69 | 6e 67 20 74 68 61 74 20 |ny scali|ng that |
|00001890| 69 73 20 73 70 65 63 69 | 66 69 65 64 20 5c 65 6d |is speci|fied \em|
|000018a0| 70 68 7b 62 65 66 6f 72 | 65 7d 20 72 6f 74 61 74 |ph{befor|e} rotat|
|000018b0| 69 6f 6e 2c 20 69 73 20 | 68 61 6e 64 6c 65 64 20 |ion, is |handled |
|000018c0| 62 79 0a 25 20 74 68 65 | 20 69 6e 74 65 72 6e 61 |by.% the| interna|
|000018d0| 6c 20 67 72 61 70 68 69 | 63 73 20 69 6e 63 6c 75 |l graphi|cs inclu|
|000018e0| 73 69 6f 6e 20 66 75 6e | 63 74 69 6f 6e 2e 20 72 |sion fun|ction. r|
|000018f0| 6f 74 61 74 69 6f 6e 2c | 20 6f 72 20 61 6e 79 20 |otation,| or any |
|00001900| 6c 61 74 65 72 0a 25 20 | 73 63 61 6c 69 6e 67 20 |later.% |scaling |
|00001910| 69 73 20 68 61 6e 64 6c | 65 64 20 62 79 20 69 6d |is handl|ed by im|
|00001920| 70 6c 69 63 69 74 6c 79 | 20 63 61 6c 6c 69 6e 67 |plicitly| calling|
|00001930| 20 7c 5c 72 6f 74 61 74 | 65 62 6f 78 7c 20 6f 72 | |\rotat|ebox| or|
|00001940| 20 7c 5c 73 63 61 6c 65 | 62 6f 78 7c 2e 0a 25 20 | |\scale|box|..% |
|00001950| 53 6f 20 7c 5b 68 65 69 | 67 68 74 3d 31 69 6e 2c |So |[hei|ght=1in,|
|00001960| 61 6e 67 6c 65 3d 39 30 | 5d 7c 20 73 63 61 6c 65 |angle=90|]| scale|
|00001970| 73 20 74 68 65 20 67 72 | 61 70 68 69 63 20 74 6f |s the gr|aphic to|
|00001980| 20 31 69 6e 2c 20 74 68 | 65 6e 20 72 6f 74 61 74 | 1in, th|en rotat|
|00001990| 65 73 20 69 74 2c 0a 25 | 20 73 6f 20 69 74 20 69 |es it,.%| so it i|
|000019a0| 73 20 6f 6e 65 20 69 6e | 63 68 20 77 69 64 65 2e |s one in|ch wide.|
|000019b0| 20 7c 5b 61 6e 67 6c 65 | 3d 39 30 2c 68 65 69 67 | |[angle|=90,heig|
|000019c0| 68 74 3d 31 69 6e 5d 7c | 20 20 66 69 72 73 74 20 |ht=1in]|| first |
|000019d0| 72 6f 74 61 74 65 73 2c | 20 74 68 65 6e 0a 25 20 |rotates,| then.% |
|000019e0| 73 63 61 6c 65 73 20 74 | 68 65 20 72 65 73 75 6c |scales t|he resul|
|000019f0| 74 20 73 6f 20 74 68 61 | 74 20 69 74 20 69 73 20 |t so tha|t it is |
|00001a00| 31 69 6e 20 68 69 67 68 | 2e 20 41 20 64 72 69 76 |1in high|. A driv|
|00001a10| 65 72 20 74 68 61 74 20 | 63 61 6e 20 73 63 61 6c |er that |can scal|
|00001a20| 65 0a 25 20 69 6e 63 6c | 75 64 65 64 20 67 72 61 |e.% incl|uded gra|
|00001a30| 70 68 69 63 73 2c 20 62 | 75 74 20 6e 6f 74 20 61 |phics, b|ut not a|
|00001a40| 72 62 69 74 72 61 72 79 | 20 74 65 78 74 20 77 69 |rbitrary| text wi|
|00001a50| 6c 6c 20 6e 6f 74 20 62 | 65 20 61 62 6c 65 20 74 |ll not b|e able t|
|00001a60| 6f 20 73 75 70 70 6f 72 | 74 0a 25 20 74 68 65 20 |o suppor|t.% the |
|00001a70| 73 65 63 6f 6e 64 20 66 | 6f 72 6d 2c 20 61 73 20 |second f|orm, as |
|00001a80| 69 74 20 77 69 6c 6c 20 | 72 65 71 75 69 72 65 20 |it will |require |
|00001a90| 61 20 63 61 6c 6c 20 74 | 6f 20 7c 5c 73 63 61 6c |a call t|o |\scal|
|00001aa0| 65 62 6f 78 7c 2c 20 62 | 75 74 20 74 68 65 0a 25 |ebox|, b|ut the.%|
|00001ab0| 20 66 69 72 73 74 20 66 | 6f 72 6d 20 73 68 6f 75 | first f|orm shou|
|00001ac0| 6c 64 20 77 6f 72 6b 20 | 61 73 20 74 68 65 72 65 |ld work |as there|
|00001ad0| 20 74 68 65 20 73 63 61 | 6c 69 6e 67 20 69 73 20 | the sca|ling is |
|00001ae0| 68 61 6e 64 6c 65 64 20 | 62 79 0a 25 20 7c 5c 47 |handled |by.% |\G|
|00001af0| 69 6e 63 6c 75 64 65 40 | 67 72 61 70 68 69 63 73 |include@|graphics|
|00001b00| 7c 2e 0a 25 0a 25 20 5c | 44 65 73 63 72 69 62 65 ||..%.% \|Describe|
|00001b10| 4d 61 63 72 6f 0a 25 20 | 20 20 20 20 20 5c 72 6f |Macro.% | \ro|
|00001b20| 74 61 74 65 62 6f 78 5c | 6f 61 72 67 7b 6b 65 79 |tatebox\|oarg{key|
|00001b30| 2d 76 61 6c 20 6c 69 73 | 74 7d 5c 6d 61 72 67 7b |-val lis|t}\marg{|
|00001b40| 74 65 78 74 7d 5c 5c 0a | 25 20 52 6f 74 61 74 65 |text}\\.|% Rotate|
|00001b50| 20 5c 65 6d 70 68 7b 74 | 65 78 74 7d 2e 0a 25 0a | \emph{t|ext}..%.|
|00001b60| 25 20 54 68 65 20 6b 65 | 79 73 20 73 75 70 70 6f |% The ke|ys suppo|
|00001b70| 72 74 65 64 20 62 79 20 | 7c 5c 72 6f 74 61 74 65 |rted by ||\rotate|
|00001b80| 62 6f 78 7c 20 61 72 65 | 3a 0a 25 20 5c 62 65 67 |box| are|:.% \beg|
|00001b90| 69 6e 7b 64 65 73 63 72 | 69 70 74 69 6f 6e 7d 0a |in{descr|iption}.|
|00001ba0| 25 20 5c 69 74 65 6d 5b | 6f 72 69 67 69 6e 5d 20 |% \item[|origin] |
|00001bb0| 53 70 65 63 69 66 79 20 | 74 68 65 20 63 65 6e 74 |Specify |the cent|
|00001bc0| 72 65 20 6f 66 20 72 6f | 74 61 74 69 6f 6e 2e 20 |re of ro|tation. |
|00001bd0| 7c 6f 72 69 67 69 6e 3d | 7c 5c 6d 65 74 61 7b 6c ||origin=||\meta{l|
|00001be0| 61 62 65 6c 7d 2c 0a 25 | 20 77 68 65 72 65 20 74 |abel},.%| where t|
|00001bf0| 68 65 20 6c 61 62 65 6c | 73 20 61 72 65 20 75 70 |he label|s are up|
|00001c00| 20 74 6f 20 74 77 6f 20 | 6f 66 20 7c 6c 72 63 74 | to two |of |lrct|
|00001c10| 62 42 7c 20 25 20 28 7c | 42 7c 20 64 65 6e 6f 74 |bB| % (||B| denot|
|00001c20| 65 73 20 74 68 65 0a 25 | 20 62 61 73 65 6c 69 6e |es the.%| baselin|
|00001c30| 65 2c 20 61 73 20 66 6f | 72 20 50 53 54 72 69 63 |e, as fo|r PSTric|
|00001c40| 6b 73 29 2e 0a 25 20 5c | 69 74 65 6d 5b 78 2c 79 |ks)..% \|item[x,y|
|00001c50| 5d 20 41 6e 20 61 6c 74 | 65 72 6e 61 74 69 76 65 |] An alt|ernative|
|00001c60| 20 74 6f 0a 25 20 7c 6f | 72 69 67 69 6e 7c 2e 20 | to.% |o|rigin|. |
|00001c70| 7c 78 3d 7c 5c 6d 65 74 | 61 7b 64 69 6d 65 6e 7d ||x=|\met|a{dimen}|
|00001c80| 7c 2c 79 3d 7c 5c 6d 65 | 74 61 7b 64 69 6d 65 6e ||,y=|\me|ta{dimen|
|00001c90| 7d 20 54 68 65 20 24 78 | 2c 79 24 20 63 6f 6f 72 |} The $x|,y$ coor|
|00001ca0| 64 69 6e 61 74 65 20 6f | 66 0a 25 20 74 68 65 20 |dinate o|f.% the |
|00001cb0| 63 65 6e 74 72 65 20 6f | 66 20 72 6f 74 61 74 69 |centre o|f rotati|
|00001cc0| 6f 6e 2e 20 41 73 20 75 | 73 75 61 6c 20 7c 5c 68 |on. As u|sual |\h|
|00001cd0| 65 69 67 68 74 7c 20 65 | 74 63 20 6d 61 79 20 62 |eight| e|tc may b|
|00001ce0| 65 20 75 73 65 64 2e 0a | 25 20 5c 69 74 65 6d 5b |e used..|% \item[|
|00001cf0| 75 6e 69 74 73 5d 20 53 | 70 65 63 69 66 79 20 74 |units] S|pecify t|
|00001d00| 68 65 20 75 6e 69 74 73 | 20 75 73 65 64 20 69 6e |he units| used in|
|00001d10| 20 74 68 65 20 6d 61 69 | 6e 20 61 72 67 75 6d 65 | the mai|n argume|
|00001d20| 6e 74 2e 20 65 67 0a 25 | 20 7c 75 6e 69 74 73 3d |nt. eg.%| |units=|
|00001d30| 2d 33 36 30 7c 20 77 6f | 75 6c 64 20 6d 65 61 6e |-360| wo|uld mean|
|00001d40| 20 74 68 61 74 20 74 68 | 65 20 61 72 67 75 6d 65 | that th|e argume|
|00001d50| 6e 74 20 72 65 66 65 72 | 65 64 20 74 6f 20 64 65 |nt refer|ed to de|
|00001d60| 67 72 65 65 73 0a 25 20 | 5c 65 6d 70 68 7b 63 6c |grees.% |\emph{cl|
|00001d70| 6f 63 6b 77 69 73 65 7d | 20 69 6e 73 74 65 61 64 |ockwise}| instead|
|00001d80| 20 6f 66 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 | of the |default |
|00001d90| 61 6e 74 69 2d 63 6c 6f | 63 6b 77 69 73 65 20 72 |anti-clo|ckwise r|
|00001da0| 6f 74 61 74 69 6f 6e 2e | 0a 25 20 5c 65 6e 64 7b |otation.|.% \end{|
|00001db0| 64 65 73 63 72 69 70 74 | 69 6f 6e 7d 0a 25 0a 25 |descript|ion}.%.%|
|00001dc0| 20 41 73 20 61 6e 20 65 | 78 61 6d 70 6c 65 20 7c | As an e|xample ||
|00001dd0| 5c 72 6f 74 61 74 65 62 | 6f 78 5b 6f 72 69 67 69 |\rotateb|ox[origi|
|00001de0| 6e 3d 63 5d 7b 74 65 78 | 74 7d 7c 20 77 69 6c 6c |n=c]{tex|t}| will|
|00001df0| 20 72 6f 74 61 74 65 20 | 60 60 74 65 78 74 27 27 | rotate |``text''|
|00001e00| 20 61 72 6f 75 6e 64 0a | 25 20 69 74 73 20 63 65 | around.|% its ce|
|00001e10| 6e 74 72 65 2c 20 74 68 | 75 73 20 63 72 65 61 74 |ntre, th|us creat|
|00001e20| 69 6e 67 20 61 20 66 69 | 6e 61 6c 20 62 6f 78 20 |ing a fi|nal box |
|00001e30| 6f 66 20 74 68 65 20 73 | 61 6d 65 20 64 69 6d 65 |of the s|ame dime|
|00001e40| 6e 73 69 6f 6e 73 20 61 | 73 20 74 68 65 0a 25 20 |nsions a|s the.% |
|00001e50| 6f 72 69 67 69 6e 61 6c | 20 62 6f 78 2e 20 54 68 |original| box. Th|
|00001e60| 69 73 20 69 73 20 74 6f | 20 62 65 20 63 6f 6e 74 |is is to| be cont|
|00001e70| 61 72 73 74 65 64 20 74 | 6f 20 74 68 65 20 64 65 |arsted t|o the de|
|00001e80| 66 61 75 6c 74 20 62 65 | 68 61 76 69 6f 75 72 2c |fault be|haviour,|
|00001e90| 20 77 68 69 63 68 0a 25 | 20 72 6f 74 61 74 65 73 | which.%| rotates|
|00001ea0| 20 61 72 6f 75 6e 64 20 | 74 68 65 20 72 65 66 65 | around |the refe|
|00001eb0| 72 65 6e 63 65 20 70 6f | 69 6e 74 20 6f 6e 20 74 |rence po|int on t|
|00001ec0| 68 65 20 62 61 73 65 6c | 69 6e 65 2c 20 74 68 75 |he basel|ine, thu|
|00001ed0| 73 20 70 72 6f 64 75 63 | 69 6e 67 20 61 0a 25 20 |s produc|ing a.% |
|00001ee0| 62 6f 78 20 74 68 61 74 | 20 69 73 20 6d 61 69 6e |box that| is main|
|00001ef0| 6c 79 20 5c 65 6d 70 68 | 7b 62 65 6c 6f 77 7d 20 |ly \emph|{below} |
|00001f00| 74 68 65 20 62 61 73 65 | 6c 69 6e 65 2e 0a 25 0a |the base|line..%.|
|00001f10| 25 20 5c 53 74 6f 70 45 | 76 65 6e 74 75 61 6c 6c |% \StopE|ventuall|
|00001f20| 79 7b 7d 0a 25 0a 25 0a | 25 20 5c 73 65 63 74 69 |y{}.%.%.|% \secti|
|00001f30| 6f 6e 7b 49 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |on{Imple|mentatio|
|00001f40| 6e 7d 0a 25 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |n}.%.% | \begin|
|00001f50| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 3c 2a 70 |{macroco|de}.%<*p|
|00001f60| 61 63 6b 61 67 65 3e 0a | 25 20 20 20 20 5c 65 6e |ackage>.|% \en|
|00001f70| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 0a 25 |d{macroc|ode}.%.%|
|00001f80| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00001f90| 63 6f 64 65 7d 0a 5c 44 | 65 63 6c 61 72 65 4f 70 |code}.\D|eclareOp|
|00001fa0| 74 69 6f 6e 2a 7b 5c 50 | 61 73 73 4f 70 74 69 6f |tion*{\P|assOptio|
|00001fb0| 6e 73 54 6f 50 61 63 6b | 61 67 65 5c 43 75 72 72 |nsToPack|age\Curr|
|00001fc0| 65 6e 74 4f 70 74 69 6f | 6e 7b 67 72 61 70 68 69 |entOptio|n{graphi|
|00001fd0| 63 73 7d 7d 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |cs}}.% | \end{m|
|00001fe0| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 0a 25 20 20 20 |acrocode|}.%.% |
|00001ff0| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|00002000| 65 7d 0a 5c 50 72 6f 63 | 65 73 73 4f 70 74 69 6f |e}.\Proc|essOptio|
|00002010| 6e 73 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |ns.% |\end{mac|
|00002020| 72 6f 63 6f 64 65 7d 0a | 25 0a 25 20 20 20 20 5c |rocode}.|%.% \|
|00002030| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|00002040| 0a 5c 52 65 71 75 69 72 | 65 50 61 63 6b 61 67 65 |.\Requir|ePackage|
|00002050| 7b 6b 65 79 76 61 6c 2c | 67 72 61 70 68 69 63 73 |{keyval,|graphics|
|00002060| 7d 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |}.% \|end{macr|
|00002070| 6f 63 6f 64 65 7d 0a 25 | 0a 25 0a 25 20 5c 73 75 |ocode}.%|.%.% \su|
|00002080| 62 73 65 63 74 69 6f 6e | 7b 47 72 61 70 68 69 63 |bsection|{Graphic|
|00002090| 73 20 49 6e 63 6c 75 73 | 69 6f 6e 7d 0a 25 0a 25 |s Inclus|ion}.%.%|
|000020a0| 20 5c 63 68 61 6e 67 65 | 73 7b 76 30 2e 33 62 7d | \change|s{v0.3b}|
|000020b0| 7b 31 39 39 34 2f 30 33 | 2f 31 31 7d 7b 75 73 65 |{1994/03|/11}{use|
|000020c0| 20 62 62 6c 6c 78 20 6e | 6f 74 20 6c 6c 78 7d 0a | bbllx n|ot llx}.|
|000020d0| 25 20 5c 63 68 61 6e 67 | 65 73 7b 76 30 2e 33 62 |% \chang|es{v0.3b|
|000020e0| 7d 7b 31 39 39 34 2f 30 | 33 2f 31 31 7d 7b 61 64 |}{1994/0|3/11}{ad|
|000020f0| 64 20 6e 61 74 68 65 69 | 67 68 74 20 61 6e 64 20 |d nathei|ght and |
|00002100| 6e 61 74 77 69 64 74 68 | 7d 0a 25 20 20 20 20 5c |natwidth|}.% \|
|00002110| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|00002120| 0a 5c 64 65 66 69 6e 65 | 40 6b 65 79 7b 47 69 6e |.\define|@key{Gin|
|00002130| 7d 7b 62 62 7d 0a 20 20 | 20 20 20 20 20 20 20 20 |}{bb}. | |
|00002140| 20 7b 5c 47 69 6e 40 76 | 69 65 77 70 6f 72 74 74 | {\Gin@v|iewportt|
|00002150| 72 75 65 5c 47 72 65 61 | 64 40 70 61 72 73 65 40 |rue\Grea|d@parse@|
|00002160| 62 62 23 31 20 5c 5c 7d | 0a 5c 64 65 66 69 6e 65 |bb#1 \\}|.\define|
|00002170| 40 6b 65 79 7b 47 69 6e | 7d 7b 62 62 6c 6c 78 7d |@key{Gin|}{bbllx}|
|00002180| 0a 20 20 20 20 20 20 20 | 20 20 20 20 7b 5c 47 69 |. | {\Gi|
|00002190| 6e 40 76 69 65 77 70 6f | 72 74 74 72 75 65 5c 40 |n@viewpo|rttrue\@|
|000021a0| 64 65 66 61 75 6c 74 75 | 6e 69 74 73 5c 47 69 6e |defaultu|nits\Gin|
|000021b0| 40 6c 6c 78 23 31 62 70 | 5c 72 65 6c 61 78 5c 40 |@llx#1bp|\relax\@|
|000021c0| 6e 6e 69 6c 7d 0a 5c 64 | 65 66 69 6e 65 40 6b 65 |nnil}.\d|efine@ke|
|000021d0| 79 7b 47 69 6e 7d 7b 62 | 62 6c 6c 79 7d 0a 20 20 |y{Gin}{b|blly}. |
|000021e0| 20 20 20 20 20 20 20 20 | 20 7b 5c 47 69 6e 40 76 | | {\Gin@v|
|000021f0| 69 65 77 70 6f 72 74 74 | 72 75 65 5c 40 64 65 66 |iewportt|rue\@def|
|00002200| 61 75 6c 74 75 6e 69 74 | 73 5c 47 69 6e 40 6c 6c |aultunit|s\Gin@ll|
|00002210| 79 23 31 62 70 5c 72 65 | 6c 61 78 5c 40 6e 6e 69 |y#1bp\re|lax\@nni|
|00002220| 6c 7d 0a 5c 64 65 66 69 | 6e 65 40 6b 65 79 7b 47 |l}.\defi|ne@key{G|
|00002230| 69 6e 7d 7b 62 62 75 72 | 78 7d 0a 20 20 20 20 20 |in}{bbur|x}. |
|00002240| 20 20 20 20 20 20 7b 5c | 47 69 6e 40 76 69 65 77 | {\|Gin@view|
|00002250| 70 6f 72 74 74 72 75 65 | 5c 40 64 65 66 61 75 6c |porttrue|\@defaul|
|00002260| 74 75 6e 69 74 73 5c 47 | 69 6e 40 75 72 78 23 31 |tunits\G|in@urx#1|
|00002270| 62 70 5c 72 65 6c 61 78 | 5c 40 6e 6e 69 6c 7d 0a |bp\relax|\@nnil}.|
|00002280| 5c 64 65 66 69 6e 65 40 | 6b 65 79 7b 47 69 6e 7d |\define@|key{Gin}|
|00002290| 7b 62 62 75 72 79 7d 0a | 20 20 20 20 20 20 20 20 |{bbury}.| |
|000022a0| 20 20 20 7b 5c 47 69 6e | 40 76 69 65 77 70 6f 72 | {\Gin|@viewpor|
|000022b0| 74 74 72 75 65 5c 40 64 | 65 66 61 75 6c 74 75 6e |ttrue\@d|efaultun|
|000022c0| 69 74 73 5c 47 69 6e 40 | 75 72 79 23 31 62 70 5c |its\Gin@|ury#1bp\|
|000022d0| 72 65 6c 61 78 5c 40 6e | 6e 69 6c 7d 0a 5c 64 65 |relax\@n|nil}.\de|
|000022e0| 66 69 6e 65 40 6b 65 79 | 7b 47 69 6e 7d 7b 6e 61 |fine@key|{Gin}{na|
|000022f0| 74 77 69 64 74 68 7d 0a | 20 20 20 20 20 20 20 20 |twidth}.| |
|00002300| 20 20 20 7b 5c 47 69 6e | 40 76 69 65 77 70 6f 72 | {\Gin|@viewpor|
|00002310| 74 74 72 75 65 5c 40 64 | 65 66 61 75 6c 74 75 6e |ttrue\@d|efaultun|
|00002320| 69 74 73 5c 47 69 6e 40 | 75 72 78 23 31 62 70 5c |its\Gin@|urx#1bp\|
|00002330| 72 65 6c 61 78 5c 40 6e | 6e 69 6c 0a 20 20 20 20 |relax\@n|nil. |
|00002340| 20 20 20 20 20 20 20 20 | 5c 61 64 76 61 6e 63 65 | |\advance|
|00002350| 5c 47 69 6e 40 75 72 78 | 5c 47 69 6e 40 6c 6c 78 |\Gin@urx|\Gin@llx|
|00002360| 7d 0a 5c 64 65 66 69 6e | 65 40 6b 65 79 7b 47 69 |}.\defin|e@key{Gi|
|00002370| 6e 7d 7b 6e 61 74 68 65 | 69 67 68 74 7d 0a 20 20 |n}{nathe|ight}. |
|00002380| 20 20 20 20 20 20 20 20 | 20 7b 5c 47 69 6e 40 76 | | {\Gin@v|
|00002390| 69 65 77 70 6f 72 74 74 | 72 75 65 5c 40 64 65 66 |iewportt|rue\@def|
|000023a0| 61 75 6c 74 75 6e 69 74 | 73 5c 47 69 6e 40 75 72 |aultunit|s\Gin@ur|
|000023b0| 79 23 31 62 70 5c 72 65 | 6c 61 78 5c 40 6e 6e 69 |y#1bp\re|lax\@nni|
|000023c0| 6c 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 5c 61 |l. | \a|
|000023d0| 64 76 61 6e 63 65 5c 47 | 69 6e 40 75 72 79 5c 47 |dvance\G|in@ury\G|
|000023e0| 69 6e 40 6c 6c 79 7d 0a | 25 20 20 20 20 5c 65 6e |in@lly}.|% \en|
|000023f0| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 0a 25 |d{macroc|ode}.%.%|
|00002400| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00002410| 63 6f 64 65 7d 0a 5c 64 | 65 66 69 6e 65 40 6b 65 |code}.\d|efine@ke|
|00002420| 79 7b 47 69 6e 7d 7b 61 | 6e 67 6c 65 7d 0a 20 20 |y{Gin}{a|ngle}. |
|00002430| 20 20 20 20 20 20 20 20 | 20 7b 5c 47 69 6e 40 65 | | {\Gin@e|
|00002440| 73 65 74 73 69 7a 65 0a | 20 20 20 20 20 20 20 20 |setsize.| |
|00002450| 20 20 20 20 5c 40 74 65 | 6d 70 73 77 61 74 72 75 | \@te|mpswatru|
|00002460| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 5c 65 |e. | \e|
|00002470| 64 65 66 5c 40 74 65 6d | 70 61 7b 5c 74 6f 6b 73 |def\@tem|pa{\toks|
|00002480| 40 7b 5c 6e 6f 65 78 70 | 61 6e 64 5c 72 6f 74 61 |@{\noexp|and\rota|
|00002490| 74 65 62 6f 78 7b 23 31 | 7d 7b 5c 74 68 65 5c 74 |tebox{#1|}{\the\t|
|000024a0| 6f 6b 73 40 7d 7d 7d 25 | 0a 20 20 20 20 20 20 20 |oks@}}}%|. |
|000024b0| 20 20 20 20 20 5c 40 74 | 65 6d 70 61 7d 0a 25 20 | \@t|empa}.% |
|000024c0| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|000024d0| 65 7d 0a 25 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |e}.%.% | \begin|
|000024e0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 64 65 66 |{macroco|de}.\def|
|000024f0| 69 6e 65 40 6b 65 79 7b | 47 69 6e 7d 7b 77 69 64 |ine@key{|Gin}{wid|
|00002500| 74 68 7d 7b 5c 64 65 66 | 5c 47 69 6e 40 65 77 69 |th}{\def|\Gin@ewi|
|00002510| 64 74 68 7b 23 31 7d 7d | 0a 5c 64 65 66 69 6e 65 |dth{#1}}|.\define|
|00002520| 40 6b 65 79 7b 47 69 6e | 7d 7b 68 65 69 67 68 74 |@key{Gin|}{height|
|00002530| 7d 7b 5c 64 65 66 5c 47 | 69 6e 40 65 68 65 69 67 |}{\def\G|in@eheig|
|00002540| 68 74 7b 23 31 7d 7d 0a | 25 20 20 20 20 5c 65 6e |ht{#1}}.|% \en|
|00002550| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 0a 25 |d{macroc|ode}.%.%|
|00002560| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00002570| 63 6f 64 65 7d 0a 5c 64 | 65 66 69 6e 65 40 6b 65 |code}.\d|efine@ke|
|00002580| 79 7b 47 69 6e 7d 7b 73 | 63 61 6c 65 7d 7b 25 0a |y{Gin}{s|cale}{%.|
|00002590| 20 20 5c 69 66 40 74 65 | 6d 70 73 77 61 0a 20 20 | \if@te|mpswa. |
|000025a0| 20 20 5c 65 64 65 66 5c | 40 74 65 6d 70 61 7b 5c | \edef\|@tempa{\|
|000025b0| 74 6f 6b 73 40 7b 5c 6e | 6f 65 78 70 61 6e 64 5c |toks@{\n|oexpand\|
|000025c0| 47 73 63 61 6c 65 40 62 | 6f 78 7b 23 31 7d 5b 23 |Gscale@b|ox{#1}[#|
|000025d0| 31 5d 7b 5c 74 68 65 5c | 74 6f 6b 73 40 7d 7d 7d |1]{\the\|toks@}}}|
|000025e0| 25 0a 20 20 20 20 5c 40 | 74 65 6d 70 61 0a 20 20 |%. \@|tempa. |
|000025f0| 5c 65 6c 73 65 0a 20 20 | 20 20 5c 64 65 66 5c 47 |\else. | \def\G|
|00002600| 69 6e 40 72 65 71 40 73 | 69 7a 65 73 7b 25 0a 20 |in@req@s|izes{%. |
|00002610| 20 20 20 20 20 5c 64 65 | 66 5c 47 69 6e 40 73 63 | \de|f\Gin@sc|
|00002620| 61 6c 65 78 7b 23 31 7d | 5c 64 65 66 5c 47 69 6e |alex{#1}|\def\Gin|
|00002630| 40 73 63 61 6c 65 79 7b | 21 7d 25 0a 20 20 20 20 |@scaley{|!}%. |
|00002640| 20 20 5c 47 69 6e 40 72 | 65 71 40 68 65 69 67 68 | \Gin@r|eq@heigh|
|00002650| 74 5c 47 69 6e 40 73 63 | 61 6c 65 78 5c 47 69 6e |t\Gin@sc|alex\Gin|
|00002660| 40 6e 61 74 40 68 65 69 | 67 68 74 0a 20 20 20 20 |@nat@hei|ght. |
|00002670| 20 20 5c 47 69 6e 40 72 | 65 71 40 77 69 64 74 68 | \Gin@r|eq@width|
|00002680| 5c 47 69 6e 40 73 63 61 | 6c 65 78 5c 47 69 6e 40 |\Gin@sca|lex\Gin@|
|00002690| 6e 61 74 40 77 69 64 74 | 68 7d 25 0a 20 20 5c 66 |nat@widt|h}%. \f|
|000026a0| 69 0a 20 20 5c 40 74 65 | 6d 70 73 77 61 74 72 75 |i. \@te|mpswatru|
|000026b0| 65 7d 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |e}.% |\end{mac|
|000026c0| 72 6f 63 6f 64 65 7d 0a | 25 0a 25 20 20 20 20 5c |rocode}.|%.% \|
|000026d0| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|000026e0| 0a 5c 64 65 66 69 6e 65 | 40 6b 65 79 7b 47 69 6e |.\define|@key{Gin|
|000026f0| 7d 7b 64 72 61 66 74 7d | 5b 74 72 75 65 5d 7b 25 |}{draft}|[true]{%|
|00002700| 0a 20 20 5c 6c 6f 77 65 | 72 63 61 73 65 7b 5c 47 |. \lowe|rcase{\G|
|00002710| 69 6e 40 62 6f 6f 6c 6b | 65 79 7b 23 31 7d 7d 7b |in@boolk|ey{#1}}{|
|00002720| 64 72 61 66 74 7d 7d 0a | 25 20 20 20 20 5c 65 6e |draft}}.|% \en|
|00002730| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 0a 25 |d{macroc|ode}.%.%|
|00002740| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00002750| 63 6f 64 65 7d 0a 5c 64 | 65 66 69 6e 65 40 6b 65 |code}.\d|efine@ke|
|00002760| 79 7b 47 69 6e 7d 7b 63 | 6c 69 70 7d 5b 74 72 75 |y{Gin}{c|lip}[tru|
|00002770| 65 5d 7b 25 0a 20 20 5c | 6c 6f 77 65 72 63 61 73 |e]{%. \|lowercas|
|00002780| 65 7b 5c 47 69 6e 40 62 | 6f 6f 6c 6b 65 79 7b 23 |e{\Gin@b|oolkey{#|
|00002790| 31 7d 7d 7b 63 6c 69 70 | 7d 7d 0a 25 20 20 20 20 |1}}{clip|}}.% |
|000027a0| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|000027b0| 25 0a 25 20 49 66 20 79 | 6f 75 20 75 73 65 20 60 |%.% If y|ou use `|
|000027c0| 74 79 70 65 27 20 79 6f | 75 20 6d 75 73 74 20 75 |type' yo|u must u|
|000027d0| 73 65 20 6e 6f 20 65 78 | 74 65 6e 73 69 6f 6e 20 |se no ex|tension |
|000027e0| 69 6e 20 74 68 65 20 6d | 61 69 6e 20 61 72 67 75 |in the m|ain argu|
|000027f0| 6d 65 6e 74 0a 25 20 61 | 6e 64 20 79 6f 75 20 6d |ment.% a|nd you m|
|00002800| 75 73 74 20 75 73 65 20 | 60 65 78 74 27 2e 20 59 |ust use |`ext'. Y|
|00002810| 6f 75 20 63 61 6e 20 61 | 6c 73 6f 20 75 73 65 20 |ou can a|lso use |
|00002820| 60 72 65 61 64 27 20 61 | 6e 64 20 60 63 6f 6d 6d |`read' a|nd `comm|
|00002830| 61 6e 64 27 2e 0a 25 20 | 5c 63 68 61 6e 67 65 73 |and'..% |\changes|
|00002840| 7b 76 30 2e 35 61 7d 7b | 31 39 39 34 2f 31 31 2f |{v0.5a}{|1994/11/|
|00002850| 32 39 7d 0a 25 20 20 20 | 20 20 7b 72 65 6d 6f 76 |29}.% | {remov|
|00002860| 65 20 5c 63 73 7b 47 69 | 6e 40 73 65 70 7d 7d 0a |e \cs{Gi|n@sep}}.|
|00002870| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|00002880| 6f 63 6f 64 65 7d 0a 5c | 64 65 66 69 6e 65 40 6b |ocode}.\|define@k|
|00002890| 65 79 7b 47 69 6e 7d 7b | 74 79 70 65 7d 7b 25 0a |ey{Gin}{|type}{%.|
|000028a0| 20 20 5c 64 65 66 5c 47 | 69 6e 63 6c 75 64 65 40 | \def\G|include@|
|000028b0| 67 72 61 70 68 69 63 73 | 23 23 31 7b 25 0a 20 20 |graphics|##1{%. |
|000028c0| 20 20 5c 62 65 67 69 6e | 67 72 6f 75 70 0a 20 20 | \begin|group. |
|000028d0| 20 20 5c 64 65 66 5c 47 | 69 6e 40 62 61 73 65 7b | \def\G|in@base{|
|000028e0| 23 23 31 7d 25 0a 20 20 | 20 20 5c 65 64 65 66 5c |##1}%. | \edef\|
|000028f0| 40 74 65 6d 70 61 7b 7b | 23 31 7d 7b 5c 47 69 6e |@tempa{{|#1}{\Gin|
|00002900| 40 65 72 65 61 64 7d 7b | 5c 47 69 6e 40 65 63 6f |@eread}{|\Gin@eco|
|00002910| 6d 7b 23 23 31 5c 47 69 | 6e 40 65 65 78 74 7d 7d |m{##1\Gi|n@eext}}|
|00002920| 7d 25 0a 20 20 20 20 5c | 65 78 70 61 6e 64 61 66 |}%. \|expandaf|
|00002930| 74 65 72 5c 47 69 6e 40 | 73 65 74 66 69 6c 65 5c |ter\Gin@|setfile\|
|00002940| 40 74 65 6d 70 61 0a 20 | 20 20 20 5c 65 6e 64 67 |@tempa. | \endg|
|00002950| 72 6f 75 70 7d 7d 0a 25 | 20 20 20 20 5c 65 6e 64 |roup}}.%| \end|
|00002960| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 0a 25 20 |{macroco|de}.%.% |
|00002970| 73 70 65 63 69 66 79 20 | 61 6e 20 65 78 74 65 6e |specify |an exten|
|00002980| 73 69 6f 6e 2c 20 66 6f | 72 20 75 73 65 20 77 69 |sion, fo|r use wi|
|00002990| 74 68 20 74 68 65 20 60 | 74 79 70 65 27 20 6b 65 |th the `|type' ke|
|000029a0| 79 2e 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |y..% |\begin{m|
|000029b0| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 64 65 66 69 6e |acrocode|}.\defin|
|000029c0| 65 40 6b 65 79 7b 47 69 | 6e 7d 7b 65 78 74 7d 7b |e@key{Gi|n}{ext}{|
|000029d0| 5c 64 65 66 5c 47 69 6e | 40 65 65 78 74 7b 23 31 |\def\Gin|@eext{#1|
|000029e0| 7d 7d 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |}}.% |\end{mac|
|000029f0| 72 6f 63 6f 64 65 7d 0a | 25 0a 25 20 53 70 65 63 |rocode}.|%.% Spec|
|00002a00| 69 66 79 20 61 20 72 65 | 61 64 20 66 69 6c 65 2c |ify a re|ad file,|
|00002a10| 20 66 6f 72 20 75 73 65 | 20 77 69 74 68 20 74 68 | for use| with th|
|00002a20| 65 20 60 74 79 70 65 27 | 20 6b 65 79 2e 0a 25 20 |e `type'| key..% |
|00002a30| 59 6f 75 20 6d 61 79 20 | 77 61 6e 74 20 74 6f 20 |You may |want to |
|00002a40| 67 6c 6f 62 61 6c 6c 79 | 20 73 65 74 20 74 68 69 |globally| set thi|
|00002a50| 73 20 74 6f 20 7c 2a 7c | 20 75 73 69 6e 67 20 7c |s to |*|| using ||
|00002a60| 5c 73 65 74 6b 65 79 73 | 7c 2e 0a 25 20 7c 2a 7c |\setkeys||..% |*||
|00002a70| 20 6d 65 61 6e 73 20 72 | 65 61 64 20 74 68 65 20 | means r|ead the |
|00002a80| 67 72 61 70 68 69 63 20 | 66 69 6c 65 20 66 6f 72 |graphic |file for|
|00002a90| 20 73 69 7a 65 20 69 6e | 66 6f 2c 20 61 73 20 69 | size in|fo, as i|
|00002aa0| 6e 0a 25 20 7c 5c 44 65 | 63 6c 61 72 65 47 72 61 |n.% |\De|clareGra|
|00002ab0| 70 68 69 63 73 52 75 6c | 65 7c 2e 20 0a 25 20 20 |phicsRul|e|. .% |
|00002ac0| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 63 6f | \begin|{macroco|
|00002ad0| 64 65 7d 0a 25 20 5c 63 | 68 61 6e 67 65 73 7b 76 |de}.% \c|hanges{v|
|00002ae0| 30 2e 35 61 7d 7b 31 39 | 39 34 2f 31 31 2f 32 39 |0.5a}{19|94/11/29|
|00002af0| 7d 0a 25 20 20 20 20 20 | 7b 41 64 64 20 64 65 66 |}.% |{Add def|
|00002b00| 61 75 6c 74 20 2a 20 70 | 6f 73 73 69 62 69 6c 69 |ault * p|ossibili|
|00002b10| 74 79 2e 7d 0a 5c 64 65 | 66 69 6e 65 40 6b 65 79 |ty.}.\de|fine@key|
|00002b20| 7b 47 69 6e 7d 7b 72 65 | 61 64 7d 7b 25 0a 20 5c |{Gin}{re|ad}{%. \|
|00002b30| 64 65 66 5c 47 69 6e 40 | 65 72 65 61 64 7b 23 31 |def\Gin@|eread{#1|
|00002b40| 7d 25 0a 20 5c 64 65 66 | 5c 40 74 65 6d 70 61 7b |}%. \def|\@tempa{|
|00002b50| 2a 7d 5c 69 66 78 5c 40 | 74 65 6d 70 61 5c 47 69 |*}\ifx\@|tempa\Gi|
|00002b60| 6e 40 65 72 65 61 64 5c | 64 65 66 5c 47 69 6e 40 |n@eread\|def\Gin@|
|00002b70| 65 72 65 61 64 7b 5c 47 | 69 6e 40 65 65 78 74 7d |eread{\G|in@eext}|
|00002b80| 5c 66 69 7d 0a 5c 6c 65 | 74 5c 47 69 6e 40 65 72 |\fi}.\le|t\Gin@er|
|00002b90| 65 61 64 5c 40 65 6d 70 | 74 79 0a 25 20 20 20 20 |ead\@emp|ty.% |
|00002ba0| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|00002bb0| 25 0a 25 20 73 70 65 63 | 69 66 79 20 61 20 63 6f |%.% spec|ify a co|
|00002bc0| 6d 6d 61 6e 64 2c 20 66 | 6f 72 20 75 73 65 20 77 |mmand, f|or use w|
|00002bd0| 69 74 68 20 74 68 65 20 | 60 74 79 70 65 27 20 6b |ith the |`type' k|
|00002be0| 65 79 2e 0a 25 20 20 20 | 20 5c 62 65 67 69 6e 7b |ey..% | \begin{|
|00002bf0| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 5c 64 65 66 69 |macrocod|e}.\defi|
|00002c00| 6e 65 40 6b 65 79 7b 47 | 69 6e 7d 7b 63 6f 6d 6d |ne@key{G|in}{comm|
|00002c10| 61 6e 64 7d 7b 5c 64 65 | 66 5c 47 69 6e 40 65 63 |and}{\de|f\Gin@ec|
|00002c20| 6f 6d 23 23 31 7b 23 31 | 7d 7d 0a 5c 6c 65 74 5c |om##1{#1|}}.\let\|
|00002c30| 47 69 6e 40 65 63 6f 6d | 5c 40 66 69 72 73 74 6f |Gin@ecom|\@firsto|
|00002c40| 66 6f 6e 65 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |fone.% | \end{m|
|00002c50| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 0a 25 0a 25 20 |acrocode|}.%.%.% |
|00002c60| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 7d 7b 5c 47 |\begin{m|acro}{\G|
|00002c70| 69 6e 40 62 6f 6f 6c 6b | 65 79 7d 0a 25 20 48 65 |in@boolk|ey}.% He|
|00002c80| 6c 70 65 72 20 66 75 6e | 63 74 69 6f 6e 20 66 6f |lper fun|ction fo|
|00002c90| 72 20 64 65 66 69 6e 69 | 6e 67 20 62 6f 6f 6c 65 |r defini|ng boole|
|00002ca0| 61 6e 20 76 61 6c 75 65 | 64 20 66 75 6e 63 74 69 |an value|d functi|
|00002cb0| 6f 6e 73 2e 20 54 68 65 | 20 6f 72 64 65 72 20 6f |ons. The| order o|
|00002cc0| 66 0a 25 20 61 72 67 75 | 6d 65 6e 74 73 20 61 6c |f.% argu|ments al|
|00002cd0| 6c 6f 77 73 20 7c 5c 6c | 6f 77 65 72 63 61 73 65 |lows |\l|owercase|
|00002ce0| 7c 20 74 6f 20 6f 6e 6c | 79 20 61 63 74 20 6f 6e || to onl|y act on|
|00002cf0| 20 74 68 65 20 75 73 65 | 72 2d 73 75 70 70 6c 69 | the use|r-suppli|
|00002d00| 65 64 0a 25 20 61 72 67 | 75 6d 65 6e 74 2e 0a 25 |ed.% arg|ument..%|
|00002d10| 20 5c 63 68 61 6e 67 65 | 73 7b 76 30 2e 34 61 7d | \change|s{v0.4a}|
|00002d20| 7b 31 39 39 34 2f 30 34 | 2f 31 34 7d 7b 4d 61 6b |{1994/04|/14}{Mak|
|00002d30| 65 20 60 65 6d 70 74 79 | 27 3d 74 72 75 65 20 73 |e `empty|'=true s|
|00002d40| 6f 20 63 6c 69 70 3d 20 | 77 6f 72 6b 73 7d 0a 25 |o clip= |works}.%|
|00002d50| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00002d60| 63 6f 64 65 7d 0a 5c 64 | 65 66 5c 47 69 6e 40 62 |code}.\d|ef\Gin@b|
|00002d70| 6f 6f 6c 6b 65 79 23 31 | 23 32 7b 25 0a 20 20 5c |oolkey#1|#2{%. \|
|00002d80| 63 73 6e 61 6d 65 20 47 | 69 6e 40 23 32 5c 69 66 |csname G|in@#2\if|
|00002d90| 78 5c 72 65 6c 61 78 23 | 31 5c 72 65 6c 61 78 20 |x\relax#|1\relax |
|00002da0| 74 72 75 65 5c 65 6c 73 | 65 23 31 5c 66 69 5c 65 |true\els|e#1\fi\e|
|00002db0| 6e 64 63 73 6e 61 6d 65 | 7d 0a 25 20 20 20 20 5c |ndcsname|}.% \|
|00002dc0| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00002dd0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 0a 25 | \end{ma|cro}.%.%|
|00002de0| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 7d 7b 5c | \begin{|macro}{\|
|00002df0| 47 69 6e 40 65 73 65 74 | 73 69 7a 65 7d 0a 25 20 |Gin@eset|size}.% |
|00002e00| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00002e10| 6f 64 65 7d 0a 5c 64 65 | 66 5c 47 69 6e 40 65 73 |ode}.\de|f\Gin@es|
|00002e20| 65 74 73 69 7a 65 7b 25 | 0a 20 20 5c 64 65 66 5c |etsize{%|. \def\|
|00002e30| 40 74 65 6d 70 61 7b 21 | 7d 25 0a 20 20 5c 69 66 |@tempa{!|}%. \if|
|00002e40| 40 74 65 6d 70 73 77 61 | 0a 25 20 20 20 20 5c 65 |@tempswa|.% \e|
|00002e50| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 20 |nd{macro|code}.% |
|00002e60| 20 65 78 74 65 72 6e 61 | 6c 20 0a 25 20 20 20 20 | externa|l .% |
|00002e70| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00002e80| 7d 0a 20 20 20 20 5c 65 | 64 65 66 5c 40 74 65 6d |}. \e|def\@tem|
|00002e90| 70 61 7b 5c 74 6f 6b 73 | 40 7b 5c 6e 6f 65 78 70 |pa{\toks|@{\noexp|
|00002ea0| 61 6e 64 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |and. | |
|00002eb0| 20 5c 72 65 73 69 7a 65 | 62 6f 78 7b 5c 47 69 6e | \resize|box{\Gin|
|00002ec0| 40 65 77 69 64 74 68 7d | 7b 5c 47 69 6e 40 65 68 |@ewidth}|{\Gin@eh|
|00002ed0| 65 69 67 68 74 7d 7b 5c | 74 68 65 5c 74 6f 6b 73 |eight}{\|the\toks|
|00002ee0| 40 7d 7d 7d 25 0a 20 20 | 20 20 5c 40 74 65 6d 70 |@}}}%. | \@temp|
|00002ef0| 61 20 20 20 0a 20 20 5c | 65 6c 73 65 0a 25 20 20 |a . \|else.% |
|00002f00| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00002f10| 7d 0a 25 20 69 6e 74 65 | 72 6e 61 6c 0a 25 20 20 |}.% inte|rnal.% |
|00002f20| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 63 6f | \begin|{macroco|
|00002f30| 64 65 7d 0a 20 20 20 20 | 5c 69 66 78 5c 47 69 6e |de}. |\ifx\Gin|
|00002f40| 40 65 77 69 64 74 68 5c | 40 74 65 6d 70 61 0a 20 |@ewidth\|@tempa. |
|00002f50| 20 20 20 20 20 5c 69 66 | 78 5c 47 69 6e 40 65 68 | \if|x\Gin@eh|
|00002f60| 65 69 67 68 74 5c 40 74 | 65 6d 70 61 0a 25 20 20 |eight\@t|empa.% |
|00002f70| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00002f80| 7d 0a 25 20 6e 6f 20 72 | 65 73 69 7a 69 6e 67 0a |}.% no r|esizing.|
|00002f90| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|00002fa0| 6f 63 6f 64 65 7d 0a 20 | 20 20 20 20 20 5c 65 6c |ocode}. | \el|
|00002fb0| 73 65 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |se.% |\end{mac|
|00002fc0| 72 6f 63 6f 64 65 7d 0a | 25 20 68 65 69 67 68 74 |rocode}.|% height|
|00002fd0| 20 73 65 74 0a 25 20 20 | 20 20 5c 62 65 67 69 6e | set.% | \begin|
|00002fe0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 20 20 20 20 |{macroco|de}. |
|00002ff0| 20 20 20 20 20 5c 6c 65 | 74 5c 47 69 6e 40 40 65 | \le|t\Gin@@e|
|00003000| 68 65 69 67 68 74 5c 47 | 69 6e 40 65 68 65 69 67 |height\G|in@eheig|
|00003010| 68 74 0a 20 20 20 20 20 | 20 20 20 20 5c 64 65 66 |ht. | \def|
|00003020| 5c 47 69 6e 40 72 65 71 | 40 73 69 7a 65 73 7b 25 |\Gin@req|@sizes{%|
|00003030| 0a 20 20 20 20 20 20 20 | 20 20 20 20 5c 47 73 63 |. | \Gsc|
|00003040| 61 6c 65 40 64 69 76 5c | 47 69 6e 40 73 63 61 6c |ale@div\|Gin@scal|
|00003050| 65 79 5c 47 69 6e 40 40 | 65 68 65 69 67 68 74 5c |ey\Gin@@|eheight\|
|00003060| 47 69 6e 40 6e 61 74 40 | 68 65 69 67 68 74 0a 20 |Gin@nat@|height. |
|00003070| 20 20 20 20 20 20 20 20 | 20 20 5c 64 65 66 5c 47 | | \def\G|
|00003080| 69 6e 40 73 63 61 6c 65 | 78 7b 21 7d 25 0a 20 20 |in@scale|x{!}%. |
|00003090| 20 20 20 20 20 20 20 20 | 20 5c 47 69 6e 40 72 65 | | \Gin@re|
|000030a0| 71 40 68 65 69 67 68 74 | 5c 47 69 6e 40 40 65 68 |q@height|\Gin@@eh|
|000030b0| 65 69 67 68 74 0a 20 20 | 20 20 20 20 20 20 20 20 |eight. | |
|000030c0| 20 5c 47 69 6e 40 72 65 | 71 40 77 69 64 74 68 5c | \Gin@re|q@width\|
|000030d0| 47 69 6e 40 73 63 61 6c | 65 79 5c 47 69 6e 40 6e |Gin@scal|ey\Gin@n|
|000030e0| 61 74 40 77 69 64 74 68 | 7d 25 0a 20 20 20 20 20 |at@width|}%. |
|000030f0| 20 5c 66 69 0a 20 20 20 | 20 5c 65 6c 73 65 0a 20 | \fi. | \else. |
|00003100| 20 20 20 20 20 5c 69 66 | 78 5c 47 69 6e 40 65 68 | \if|x\Gin@eh|
|00003110| 65 69 67 68 74 5c 40 74 | 65 6d 70 61 0a 25 20 20 |eight\@t|empa.% |
|00003120| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00003130| 7d 0a 25 20 77 69 64 74 | 68 20 73 65 74 0a 25 20 |}.% widt|h set.% |
|00003140| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00003150| 6f 64 65 7d 0a 20 20 20 | 20 20 20 20 20 20 5c 6c |ode}. | \l|
|00003160| 65 74 5c 47 69 6e 40 40 | 65 77 69 64 74 68 5c 47 |et\Gin@@|ewidth\G|
|00003170| 69 6e 40 65 77 69 64 74 | 68 0a 20 20 20 20 20 20 |in@ewidt|h. |
|00003180| 20 20 20 5c 64 65 66 5c | 47 69 6e 40 72 65 71 40 | \def\|Gin@req@|
|00003190| 73 69 7a 65 73 7b 25 0a | 20 20 20 20 20 20 20 20 |sizes{%.| |
|000031a0| 20 20 20 5c 47 73 63 61 | 6c 65 40 64 69 76 5c 47 | \Gsca|le@div\G|
|000031b0| 69 6e 40 73 63 61 6c 65 | 78 5c 47 69 6e 40 40 65 |in@scale|x\Gin@@e|
|000031c0| 77 69 64 74 68 5c 47 69 | 6e 40 6e 61 74 40 77 69 |width\Gi|n@nat@wi|
|000031d0| 64 74 68 0a 20 20 20 20 | 20 20 20 20 20 20 20 5c |dth. | \|
|000031e0| 64 65 66 5c 47 69 6e 40 | 73 63 61 6c 65 79 7b 21 |def\Gin@|scaley{!|
|000031f0| 7d 25 0a 20 20 20 20 20 | 20 20 20 20 20 20 5c 47 |}%. | \G|
|00003200| 69 6e 40 72 65 71 40 77 | 69 64 74 68 5c 47 69 6e |in@req@w|idth\Gin|
|00003210| 40 40 65 77 69 64 74 68 | 0a 20 20 20 20 20 20 20 |@@ewidth|. |
|00003220| 20 20 20 20 5c 47 69 6e | 40 72 65 71 40 68 65 69 | \Gin|@req@hei|
|00003230| 67 68 74 5c 47 69 6e 40 | 73 63 61 6c 65 78 5c 47 |ght\Gin@|scalex\G|
|00003240| 69 6e 40 6e 61 74 40 68 | 65 69 67 68 74 7d 25 0a |in@nat@h|eight}%.|
|00003250| 20 20 20 20 20 20 5c 65 | 6c 73 65 0a 25 20 20 20 | \e|lse.% |
|00003260| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00003270| 0a 25 20 62 6f 74 68 20 | 73 65 74 0a 25 20 20 20 |.% both |set.% |
|00003280| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|00003290| 65 7d 0a 20 20 20 20 20 | 20 20 20 20 5c 6c 65 74 |e}. | \let|
|000032a0| 5c 47 69 6e 40 40 65 77 | 69 64 74 68 5c 47 69 6e |\Gin@@ew|idth\Gin|
|000032b0| 40 65 77 69 64 74 68 0a | 20 20 20 20 20 20 20 20 |@ewidth.| |
|000032c0| 20 5c 6c 65 74 5c 47 69 | 6e 40 40 65 68 65 69 67 | \let\Gi|n@@eheig|
|000032d0| 68 74 5c 47 69 6e 40 65 | 68 65 69 67 68 74 0a 20 |ht\Gin@e|height. |
|000032e0| 20 20 20 20 20 20 20 20 | 5c 64 65 66 5c 47 69 6e | |\def\Gin|
|000032f0| 40 72 65 71 40 73 69 7a | 65 73 7b 25 0a 20 20 20 |@req@siz|es{%. |
|00003300| 20 20 20 20 20 20 20 20 | 5c 47 73 63 61 6c 65 40 | |\Gscale@|
|00003310| 64 69 76 5c 47 69 6e 40 | 73 63 61 6c 65 78 5c 47 |div\Gin@|scalex\G|
|00003320| 69 6e 40 40 65 77 69 64 | 74 68 5c 47 69 6e 40 6e |in@@ewid|th\Gin@n|
|00003330| 61 74 40 77 69 64 74 68 | 0a 20 20 20 20 20 20 20 |at@width|. |
|00003340| 20 20 20 20 5c 47 73 63 | 61 6c 65 40 64 69 76 5c | \Gsc|ale@div\|
|00003350| 47 69 6e 40 73 63 61 6c | 65 79 5c 47 69 6e 40 40 |Gin@scal|ey\Gin@@|
|00003360| 65 68 65 69 67 68 74 5c | 47 69 6e 40 6e 61 74 40 |eheight\|Gin@nat@|
|00003370| 68 65 69 67 68 74 0a 20 | 20 20 20 20 20 20 20 20 |height. | |
|00003380| 20 20 5c 47 69 6e 40 72 | 65 71 40 77 69 64 74 68 | \Gin@r|eq@width|
|00003390| 5c 47 69 6e 40 73 63 61 | 6c 65 78 5c 47 69 6e 40 |\Gin@sca|lex\Gin@|
|000033a0| 6e 61 74 40 77 69 64 74 | 68 0a 20 20 20 20 20 20 |nat@widt|h. |
|000033b0| 20 20 20 20 20 5c 47 69 | 6e 40 72 65 71 40 68 65 | \Gi|n@req@he|
|000033c0| 69 67 68 74 5c 47 69 6e | 40 73 63 61 6c 65 79 5c |ight\Gin|@scaley\|
|000033d0| 47 69 6e 40 6e 61 74 40 | 68 65 69 67 68 74 7d 25 |Gin@nat@|height}%|
|000033e0| 0a 20 20 20 20 20 20 20 | 5c 66 69 0a 20 20 20 20 |. |\fi. |
|000033f0| 20 5c 66 69 0a 20 20 5c | 66 69 0a 20 20 5c 64 65 | \fi. \|fi. \de|
|00003400| 66 5c 47 69 6e 40 65 77 | 69 64 74 68 7b 21 7d 5c |f\Gin@ew|idth{!}\|
|00003410| 6c 65 74 5c 47 69 6e 40 | 65 68 65 69 67 68 74 5c |let\Gin@|eheight\|
|00003420| 47 69 6e 40 65 77 69 64 | 74 68 7d 0a 25 20 20 20 |Gin@ewid|th}.% |
|00003430| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00003440| 0a 25 20 5c 65 6e 64 7b | 6d 61 63 72 6f 7d 0a 25 |.% \end{|macro}.%|
|00003450| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|00003460| 72 6f 63 6f 64 65 7d 0a | 5c 6e 65 77 64 69 6d 65 |rocode}.|\newdime|
|00003470| 6e 5c 47 69 6e 40 72 65 | 71 40 68 65 69 67 68 74 |n\Gin@re|q@height|
|00003480| 0a 5c 6e 65 77 64 69 6d | 65 6e 5c 47 69 6e 40 72 |.\newdim|en\Gin@r|
|00003490| 65 71 40 77 69 64 74 68 | 0a 5c 6c 65 74 5c 47 69 |eq@width|.\let\Gi|
|000034a0| 6e 40 6f 75 74 65 72 40 | 73 63 61 6c 65 78 5c 72 |n@outer@|scalex\r|
|000034b0| 65 6c 61 78 0a 5c 6c 65 | 74 5c 47 69 6e 40 6f 75 |elax.\le|t\Gin@ou|
|000034c0| 74 65 72 40 73 63 61 6c | 65 79 5c 72 65 6c 61 78 |ter@scal|ey\relax|
|000034d0| 0a 5c 6c 65 74 5c 47 69 | 6e 40 61 6e 67 6c 65 5c |.\let\Gi|n@angle\|
|000034e0| 72 65 6c 61 78 0a 5c 64 | 65 66 5c 47 69 6e 40 65 |relax.\d|ef\Gin@e|
|000034f0| 77 69 64 74 68 7b 21 7d | 5c 6c 65 74 5c 47 69 6e |width{!}|\let\Gin|
|00003500| 40 65 68 65 69 67 68 74 | 5c 47 69 6e 40 65 77 69 |@eheight|\Gin@ewi|
|00003510| 64 74 68 0a 5c 64 65 66 | 5c 47 69 6e 40 73 63 61 |dth.\def|\Gin@sca|
|00003520| 6c 65 78 7b 31 7d 5c 64 | 65 66 5c 47 69 6e 40 73 |lex{1}\d|ef\Gin@s|
|00003530| 63 61 6c 65 79 7b 21 7d | 25 0a 25 20 20 20 20 5c |caley{!}|%.% \|
|00003540| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00003550| 0a 25 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |.% \begi|n{macro}|
|00003560| 7b 5c 47 69 6e 40 69 7d | 0a 25 20 55 73 65 20 74 |{\Gin@i}|.% Use t|
|00003570| 68 65 20 73 61 6d 65 20 | 74 6f 70 20 6c 65 76 65 |he same |top leve|
|00003580| 6c 20 7c 5c 69 6e 63 6c | 75 64 65 67 72 61 70 68 |l |\incl|udegraph|
|00003590| 69 63 73 7c 20 63 6f 6d | 6d 61 6e 64 20 61 73 20 |ics| com|mand as |
|000035a0| 74 68 65 20 73 74 61 6e | 64 61 72 64 0a 25 20 69 |the stan|dard.% i|
|000035b0| 6e 74 65 72 66 61 63 65 | 2e 20 54 68 69 73 20 77 |nterface|. This w|
|000035c0| 69 6c 6c 20 73 65 74 20 | 74 68 65 20 63 6c 69 70 |ill set |the clip|
|000035d0| 70 69 6e 67 20 73 77 69 | 74 63 68 2c 20 61 6e 64 |ping swi|tch, and|
|000035e0| 20 74 68 65 6e 20 63 61 | 6c 6c 20 7c 5c 47 69 6e | then ca|ll |\Gin|
|000035f0| 40 69 7c 2e 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |@i|..% \|changes{|
|00003600| 76 30 2e 33 63 7d 7b 31 | 39 39 34 2f 30 33 2f 31 |v0.3c}{1|994/03/1|
|00003610| 35 7d 7b 44 6f 6e 74 20 | 6c 6f 63 61 6c 79 20 69 |5}{Dont |localy i|
|00003620| 6e 69 74 69 61 6c 69 73 | 65 20 77 69 64 74 68 2f |nitialis|e width/|
|00003630| 68 65 69 67 68 74 7d 0a | 25 20 5c 63 68 61 6e 67 |height}.|% \chang|
|00003640| 65 73 7b 76 30 2e 33 63 | 7d 7b 31 39 39 34 2f 30 |es{v0.3c|}{1994/0|
|00003650| 33 2f 31 35 7d 7b 41 6c | 77 61 79 73 20 63 61 6c |3/15}{Al|ways cal|
|00003660| 6c 20 5c 63 6d 64 7b 5c | 47 69 6e 40 69 69 7d 7d |l \cmd{\|Gin@ii}}|
|00003670| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 30 2e 34 |.% \chan|ges{v0.4|
|00003680| 63 7d 7b 31 39 39 34 2f | 30 39 2f 31 32 7d 7b 55 |c}{1994/|09/12}{U|
|00003690| 73 65 20 60 73 74 61 6e | 64 61 72 64 27 20 76 65 |se `stan|dard' ve|
|000036a0| 72 73 69 6f 6e 20 69 66 | 20 74 77 6f 20 6f 70 74 |rsion if| two opt|
|000036b0| 2e 5c 20 61 72 67 73 2e | 7d 0a 25 20 20 20 20 5c |.\ args.|}.% \|
|000036c0| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|000036d0| 0a 5c 64 65 66 5c 47 69 | 6e 40 69 7b 25 0a 20 5c |.\def\Gi|n@i{%. \|
|000036e0| 64 65 66 5c 47 69 6e 40 | 72 65 71 40 73 69 7a 65 |def\Gin@|req@size|
|000036f0| 73 7b 25 0a 20 20 20 5c | 47 69 6e 40 72 65 71 40 |s{%. \|Gin@req@|
|00003700| 68 65 69 67 68 74 5c 47 | 69 6e 40 6e 61 74 40 68 |height\G|in@nat@h|
|00003710| 65 69 67 68 74 0a 20 20 | 20 5c 47 69 6e 40 72 65 |eight. | \Gin@re|
|00003720| 71 40 77 69 64 74 68 5c | 47 69 6e 40 6e 61 74 40 |q@width\|Gin@nat@|
|00003730| 77 69 64 74 68 7d 25 0a | 20 5c 40 69 66 6e 65 78 |width}%.| \@ifnex|
|00003740| 74 63 68 61 72 5b 5c 47 | 69 6e 40 69 69 7b 5c 47 |tchar[\G|in@ii{\G|
|00003750| 69 6e 40 69 69 5b 5d 7d | 7d 0a 25 20 20 20 20 5c |in@ii[]}|}.% \|
|00003760| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00003770| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 0a 25 | \end{ma|cro}.%.%|
|00003780| 0a 25 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |.% \begi|n{macro}|
|00003790| 7b 5c 47 69 6e 40 69 69 | 7d 0a 25 20 4c 6f 6f 6b |{\Gin@ii|}.% Look|
|000037a0| 20 66 6f 72 20 61 20 73 | 65 63 6f 6e 64 20 6f 70 | for a s|econd op|
|000037b0| 74 69 6f 6e 61 6c 20 61 | 72 67 75 6d 65 6e 74 2e |tional a|rgument.|
|000037c0| 0a 25 20 49 66 20 6f 6e | 65 20 6f 70 74 69 6f 6e |.% If on|e option|
|000037d0| 61 6c 20 61 72 67 75 6d | 65 6e 74 20 69 73 20 70 |al argum|ent is p|
|000037e0| 72 65 73 65 6e 74 2c 20 | 63 61 6c 6c 20 7c 5c 73 |resent, |call |\s|
|000037f0| 65 74 6b 65 79 73 7c 20 | 74 6f 20 70 72 6f 63 65 |etkeys| |to proce|
|00003800| 73 73 20 69 74 2c 0a 25 | 20 20 20 20 5c 62 65 67 |ss it,.%| \beg|
|00003810| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 64 |in{macro|code}.\d|
|00003820| 65 66 5c 47 69 6e 40 69 | 69 5b 23 31 5d 23 32 7b |ef\Gin@i|i[#1]#2{|
|00003830| 25 0a 20 20 20 20 5c 64 | 65 66 5c 40 74 65 6d 70 |%. \d|ef\@temp|
|00003840| 61 7b 5b 7d 5c 64 65 66 | 5c 40 74 65 6d 70 62 7b |a{[}\def|\@tempb{|
|00003850| 23 32 7d 25 0a 20 20 20 | 20 5c 69 66 78 5c 40 74 |#2}%. | \ifx\@t|
|00003860| 65 6d 70 61 5c 40 74 65 | 6d 70 62 0a 20 20 20 20 |empa\@te|mpb. |
|00003870| 20 20 5c 64 65 66 5c 40 | 74 65 6d 70 61 7b 5c 47 | \def\@|tempa{\G|
|00003880| 69 6e 40 69 69 69 5b 23 | 31 5d 5b 7d 25 0a 20 20 |in@iii[#|1][}%. |
|00003890| 20 20 20 20 5c 65 78 70 | 61 6e 64 61 66 74 65 72 | \exp|andafter|
|000038a0| 5c 40 74 65 6d 70 61 0a | 20 20 20 20 5c 65 6c 73 |\@tempa.| \els|
|000038b0| 65 0a 20 20 20 20 20 5c | 62 65 67 69 6e 67 72 6f |e. \|begingro|
|000038c0| 75 70 0a 20 20 20 20 20 | 20 20 5c 40 74 65 6d 70 |up. | \@temp|
|000038d0| 73 77 61 66 61 6c 73 65 | 0a 20 20 20 20 20 20 20 |swafalse|. |
|000038e0| 5c 74 6f 6b 73 40 7b 5c | 47 69 6e 63 6c 75 64 65 |\toks@{\|Ginclude|
|000038f0| 40 67 72 61 70 68 69 63 | 73 7b 23 32 7d 7d 25 0a |@graphic|s{#2}}%.|
|00003900| 20 20 20 20 20 20 20 5c | 73 65 74 6b 65 79 73 7b | \|setkeys{|
|00003910| 47 69 6e 7d 7b 23 31 7d | 25 0a 20 20 20 20 20 20 |Gin}{#1}|%. |
|00003920| 20 5c 47 69 6e 40 65 73 | 65 74 73 69 7a 65 0a 20 | \Gin@es|etsize. |
|00003930| 20 20 20 20 20 20 5c 74 | 68 65 5c 74 6f 6b 73 40 | \t|he\toks@|
|00003940| 0a 20 20 20 20 20 5c 65 | 6e 64 67 72 6f 75 70 0a |. \e|ndgroup.|
|00003950| 20 20 20 20 20 5c 66 69 | 7d 0a 25 20 20 20 20 5c | \fi|}.% \|
|00003960| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00003970| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 0a 25 | \end{ma|cro}.%.%|
|00003980| 20 5c 63 68 61 6e 67 65 | 73 7b 76 30 2e 34 62 7d | \change|s{v0.4b}|
|00003990| 7b 31 39 39 34 2f 30 35 | 2f 30 36 7d 0a 25 20 20 |{1994/05|/06}.% |
|000039a0| 20 20 20 7b 52 65 6d 6f | 76 65 20 69 6e 63 6f 72 | {Remo|ve incor|
|000039b0| 72 65 63 74 20 69 6e 69 | 74 69 61 6c 69 73 61 74 |rect ini|tialisat|
|000039c0| 69 6f 6e 20 6f 66 20 5c | 63 73 7b 47 69 6e 40 73 |ion of \|cs{Gin@s|
|000039d0| 63 61 6c 65 78 7d 7d 0a | 25 0a 25 20 5c 73 65 63 |calex}}.|%.% \sec|
|000039e0| 74 69 6f 6e 7b 52 6f 74 | 61 74 69 6f 6e 7d 0a 25 |tion{Rot|ation}.%|
|000039f0| 0a 25 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |.% \begi|n{macro}|
|00003a00| 7b 5c 72 6f 74 61 74 65 | 62 6f 78 7d 0a 25 20 4c |{\rotate|box}.% L|
|00003a10| 6f 6f 6b 20 66 6f 72 20 | 61 6e 20 6f 70 74 69 6f |ook for |an optio|
|00003a20| 6e 61 6c 20 61 72 67 75 | 6d 65 6e 74 2e 0a 25 20 |nal argu|ment..% |
|00003a30| 5c 63 68 61 6e 67 65 73 | 7b 76 30 2e 33 62 7d 7b |\changes|{v0.3b}{|
|00003a40| 31 39 39 34 2f 30 33 2f | 31 31 7d 7b 52 65 6d 6f |1994/03/|11}{Remo|
|00003a50| 76 65 20 73 74 61 72 20 | 66 6f 72 6d 7d 0a 25 20 |ve star |form}.% |
|00003a60| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00003a70| 6f 64 65 7d 0a 5c 64 65 | 66 5c 72 6f 74 61 74 65 |ode}.\de|f\rotate|
|00003a80| 62 6f 78 7b 25 0a 20 20 | 5c 40 69 66 6e 65 78 74 |box{%. |\@ifnext|
|00003a90| 63 68 61 72 5b 5c 47 72 | 6f 74 40 62 6f 78 40 6b |char[\Gr|ot@box@k|
|00003aa0| 76 5c 47 72 6f 74 40 62 | 6f 78 40 73 74 64 7d 0a |v\Grot@b|ox@std}.|
|00003ab0| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00003ac0| 6f 64 65 7d 0a 25 20 5c | 65 6e 64 7b 6d 61 63 72 |ode}.% \|end{macr|
|00003ad0| 6f 7d 0a 25 20 20 20 20 | 0a 25 20 5c 62 65 67 69 |o}.% |.% \begi|
|00003ae0| 6e 7b 6d 61 63 72 6f 7d | 7b 5c 47 72 6f 74 40 62 |n{macro}|{\Grot@b|
|00003af0| 6f 78 40 73 74 64 7d 0a | 25 20 49 66 20 6e 6f 20 |ox@std}.|% If no |
|00003b00| 4b 56 20 61 72 67 75 6d | 65 6e 74 2c 20 6a 75 73 |KV argum|ent, jus|
|00003b10| 74 20 72 65 70 65 61 74 | 20 74 68 65 20 73 74 61 |t repeat| the sta|
|00003b20| 6e 64 61 72 64 20 64 65 | 66 69 6e 69 74 69 6f 6e |ndard de|finition|
|00003b30| 2e 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |..% \|begin{ma|
|00003b40| 63 72 6f 63 6f 64 65 7d | 0a 5c 64 65 66 5c 47 72 |crocode}|.\def\Gr|
|00003b50| 6f 74 40 62 6f 78 40 73 | 74 64 23 31 23 32 7b 25 |ot@box@s|td#1#2{%|
|00003b60| 0a 20 20 5c 47 72 6f 74 | 40 73 65 74 61 6e 67 6c |. \Grot|@setangl|
|00003b70| 65 7b 23 31 7d 25 0a 20 | 20 5c 73 65 74 62 6f 78 |e{#1}%. | \setbox|
|00003b80| 5c 7a 40 5c 68 62 6f 78 | 7b 7b 23 32 7d 7d 25 0a |\z@\hbox|{{#2}}%.|
|00003b90| 20 20 5c 47 72 6f 74 40 | 78 5c 7a 40 0a 20 20 5c | \Grot@|x\z@. \|
|00003ba0| 47 72 6f 74 40 79 5c 7a | 40 0a 20 20 5c 47 72 6f |Grot@y\z|@. \Gro|
|00003bb0| 74 40 62 6f 78 7d 0a 25 | 20 20 20 20 5c 65 6e 64 |t@box}.%| \end|
|00003bc0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 20 5c 65 |{macroco|de}.% \e|
|00003bd0| 6e 64 7b 6d 61 63 72 6f | 7d 0a 25 20 20 20 20 0a |nd{macro|}.% .|
|00003be0| 25 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 7d 7b |% \begin|{macro}{|
|00003bf0| 5c 47 72 6f 74 40 62 6f | 78 40 6b 76 7d 0a 25 20 |\Grot@bo|x@kv}.% |
|00003c00| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00003c10| 6f 64 65 7d 0a 5c 64 65 | 66 5c 47 72 6f 74 40 62 |ode}.\de|f\Grot@b|
|00003c20| 6f 78 40 6b 76 5b 23 31 | 5d 23 32 23 33 7b 25 0a |ox@kv[#1|]#2#3{%.|
|00003c30| 20 20 5c 40 62 65 67 69 | 6e 40 74 65 6d 70 62 6f | \@begi|n@tempbo|
|00003c40| 78 61 5c 68 62 6f 78 7b | 23 33 7d 25 0a 20 20 20 |xa\hbox{|#3}%. |
|00003c50| 20 5c 47 72 6f 74 40 78 | 5c 77 69 64 74 68 20 5c | \Grot@x|\width \|
|00003c60| 64 69 76 69 64 65 5c 47 | 72 6f 74 40 78 5c 74 77 |divide\G|rot@x\tw|
|00003c70| 40 0a 20 20 20 20 5c 47 | 72 6f 74 40 79 5c 68 65 |@. \G|rot@y\he|
|00003c80| 69 67 68 74 20 5c 61 64 | 76 61 6e 63 65 5c 47 72 |ight \ad|vance\Gr|
|00003c90| 6f 74 40 79 2d 5c 64 65 | 70 74 68 20 5c 64 69 76 |ot@y-\de|pth \div|
|00003ca0| 69 64 65 5c 47 72 6f 74 | 40 79 5c 74 77 40 0a 20 |ide\Grot|@y\tw@. |
|00003cb0| 20 20 20 5c 73 65 74 6b | 65 79 73 7b 47 72 6f 74 | \setk|eys{Grot|
|00003cc0| 7d 7b 23 31 7d 25 0a 20 | 20 20 20 5c 73 65 74 62 |}{#1}%. | \setb|
|00003cd0| 6f 78 5c 7a 40 5c 62 6f | 78 5c 40 74 65 6d 70 62 |ox\z@\bo|x\@tempb|
|00003ce0| 6f 78 61 0a 20 20 20 20 | 5c 47 72 6f 74 40 73 65 |oxa. |\Grot@se|
|00003cf0| 74 61 6e 67 6c 65 7b 23 | 32 7d 25 0a 20 20 20 20 |tangle{#|2}%. |
|00003d00| 5c 47 72 6f 74 40 62 6f | 78 0a 20 20 5c 40 65 6e |\Grot@bo|x. \@en|
|00003d10| 64 40 74 65 6d 70 62 6f | 78 61 7d 0a 25 20 20 20 |d@tempbo|xa}.% |
|00003d20| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00003d30| 0a 25 20 5c 65 6e 64 7b | 6d 61 63 72 6f 7d 0a 25 |.% \end{|macro}.%|
|00003d40| 20 20 20 20 0a 25 0a 25 | 20 54 68 65 72 65 20 61 | .%.%| There a|
|00003d50| 72 65 20 74 77 6f 20 77 | 61 79 73 20 6f 66 20 73 |re two w|ays of s|
|00003d60| 70 65 63 69 66 79 69 6e | 67 20 74 68 65 20 63 65 |pecifyin|g the ce|
|00003d70| 6e 74 72 65 20 6f 66 20 | 72 6f 74 61 74 69 6f 6e |ntre of |rotation|
|00003d80| 2e 0a 25 0a 25 20 7c 6f | 72 69 67 69 6e 3d 7c 5c |..%.% |o|rigin=|\|
|00003d90| 6d 65 74 61 7b 6c 61 62 | 65 6c 7d 2c 20 77 68 65 |meta{lab|el}, whe|
|00003da0| 72 65 20 74 68 65 20 6c | 61 62 65 6c 73 20 61 72 |re the l|abels ar|
|00003db0| 65 20 75 70 20 74 6f 20 | 74 77 6f 20 6f 66 20 7c |e up to |two of ||
|00003dc0| 6c 72 63 74 62 42 7c 20 | 0a 25 20 28 7c 42 7c 20 |lrctbB| |.% (|B| |
|00003dd0| 64 65 6e 6f 74 65 73 20 | 74 68 65 20 62 61 73 65 |denotes |the base|
|00003de0| 6c 69 6e 65 2c 20 61 73 | 20 66 6f 72 20 50 53 54 |line, as| for PST|
|00003df0| 72 69 63 6b 73 29 2e 0a | 25 0a 25 20 7c 78 3d 7c |ricks)..|%.% |x=||
|00003e00| 5c 6d 65 74 61 7b 64 69 | 6d 65 6e 7d 7c 2c 79 3d |\meta{di|men}|,y=|
|00003e10| 7c 5c 6d 65 74 61 7b 64 | 69 6d 65 6e 7d 20 54 68 ||\meta{d|imen} Th|
|00003e20| 65 20 24 78 2c 79 24 20 | 63 6f 6f 72 64 69 6e 61 |e $x,y$ |coordina|
|00003e30| 74 65 20 6f 66 20 74 68 | 65 20 63 65 6e 74 72 65 |te of th|e centre|
|00003e40| 0a 25 20 6f 66 20 72 6f | 74 61 74 69 6f 6e 2e 20 |.% of ro|tation. |
|00003e50| 41 73 20 75 73 75 61 6c | 20 7c 5c 68 65 69 67 68 |As usual| |\heigh|
|00003e60| 74 7c 20 65 74 63 20 6d | 61 79 20 62 65 20 75 73 |t| etc m|ay be us|
|00003e70| 65 64 2e 0a 25 20 20 20 | 20 5c 62 65 67 69 6e 7b |ed..% | \begin{|
|00003e80| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 5c 64 65 66 69 |macrocod|e}.\defi|
|00003e90| 6e 65 40 6b 65 79 7b 47 | 72 6f 74 7d 7b 6f 72 69 |ne@key{G|rot}{ori|
|00003ea0| 67 69 6e 7d 5b 63 5d 7b | 25 0a 20 5c 40 74 66 6f |gin}[c]{|%. \@tfo|
|00003eb0| 72 5c 40 74 65 6d 70 61 | 3a 3d 23 31 5c 64 6f 7b |r\@tempa|:=#1\do{|
|00003ec0| 25 0a 20 20 20 20 5c 69 | 66 20 6c 5c 40 74 65 6d |%. \i|f l\@tem|
|00003ed0| 70 61 20 5c 47 72 6f 74 | 40 78 5c 7a 40 5c 65 6c |pa \Grot|@x\z@\el|
|00003ee0| 73 65 0a 20 20 20 20 5c | 69 66 20 72 5c 40 74 65 |se. \|if r\@te|
|00003ef0| 6d 70 61 20 5c 47 72 6f | 74 40 78 5c 77 69 64 74 |mpa \Gro|t@x\widt|
|00003f00| 68 5c 65 6c 73 65 0a 20 | 20 20 20 5c 69 66 20 74 |h\else. | \if t|
|00003f10| 5c 40 74 65 6d 70 61 20 | 5c 47 72 6f 74 40 79 5c |\@tempa |\Grot@y\|
|00003f20| 68 65 69 67 68 74 5c 65 | 6c 73 65 0a 20 20 20 20 |height\e|lse. |
|00003f30| 5c 69 66 20 62 5c 40 74 | 65 6d 70 61 20 5c 47 72 |\if b\@t|empa \Gr|
|00003f40| 6f 74 40 79 2d 5c 64 65 | 70 74 68 5c 65 6c 73 65 |ot@y-\de|pth\else|
|00003f50| 0a 20 20 20 20 5c 69 66 | 20 42 5c 40 74 65 6d 70 |. \if| B\@temp|
|00003f60| 61 20 5c 47 72 6f 74 40 | 79 5c 7a 40 5c 66 69 5c |a \Grot@|y\z@\fi\|
|00003f70| 66 69 5c 66 69 5c 66 69 | 5c 66 69 7d 7d 0a 5c 64 |fi\fi\fi|\fi}}.\d|
|00003f80| 65 66 69 6e 65 40 6b 65 | 79 7b 47 72 6f 74 7d 7b |efine@ke|y{Grot}{|
|00003f90| 78 7d 7b 5c 73 65 74 6c | 65 6e 67 74 68 5c 47 72 |x}{\setl|ength\Gr|
|00003fa0| 6f 74 40 78 7b 23 31 7d | 7d 0a 5c 64 65 66 69 6e |ot@x{#1}|}.\defin|
|00003fb0| 65 40 6b 65 79 7b 47 72 | 6f 74 7d 7b 79 7d 7b 5c |e@key{Gr|ot}{y}{\|
|00003fc0| 73 65 74 6c 65 6e 67 74 | 68 5c 47 72 6f 74 40 79 |setlengt|h\Grot@y|
|00003fd0| 7b 23 31 7d 7d 0a 25 20 | 20 20 20 5c 65 6e 64 7b |{#1}}.% | \end{|
|00003fe0| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 0a 25 20 60 |macrocod|e}.%.% `|
|00003ff0| 75 6e 69 74 73 27 20 73 | 70 65 63 69 66 69 65 73 |units' s|pecifies|
|00004000| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 72 20 75 | the num|ber or u|
|00004010| 6e 69 74 73 20 69 6e 20 | 6f 6e 65 20 61 6e 74 69 |nits in |one anti|
|00004020| 2d 63 6c 6f 63 6b 77 69 | 73 65 20 63 69 72 63 6c |-clockwi|se circl|
|00004030| 65 2e 0a 25 20 20 73 6f | 20 74 68 65 20 64 65 66 |e..% so| the def|
|00004040| 61 75 6c 74 20 69 73 20 | 24 33 36 30 24 2e 20 24 |ault is |$360$. $|
|00004050| 2d 33 36 30 24 20 67 69 | 76 65 73 20 63 6c 6f 63 |-360$ gi|ves cloc|
|00004060| 6b 77 69 73 65 20 72 6f | 74 61 74 69 6f 6e 2c 20 |kwise ro|tation, |
|00004070| 24 36 2e 32 38 33 31 38 | 35 24 0a 25 20 20 67 69 |$6.28318|5$.% gi|
|00004080| 76 65 73 20 72 61 64 69 | 61 6e 73 20 65 74 63 2e |ves radi|ans etc.|
|00004090| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|000040a0| 72 6f 63 6f 64 65 7d 0a | 5c 64 65 66 69 6e 65 40 |rocode}.|\define@|
|000040b0| 6b 65 79 7b 47 72 6f 74 | 7d 7b 75 6e 69 74 73 7d |key{Grot|}{units}|
|000040c0| 7b 25 0a 20 20 5c 64 65 | 66 5c 47 72 6f 74 40 73 |{%. \de|f\Grot@s|
|000040d0| 65 74 61 6e 67 6c 65 23 | 23 31 7b 25 0a 20 20 5c |etangle#|#1{%. \|
|000040e0| 64 69 6d 65 6e 40 23 23 | 31 5c 70 40 0a 20 20 5c |dimen@##|1\p@. \|
|000040f0| 64 69 6d 65 6e 40 69 69 | 23 31 5c 70 40 0a 20 20 |dimen@ii|#1\p@. |
|00004100| 5c 64 69 76 69 64 65 5c | 64 69 6d 65 6e 40 69 69 |\divide\|dimen@ii|
|00004110| 33 36 30 5c 72 65 6c 61 | 78 0a 20 20 5c 64 69 76 |360\rela|x. \div|
|00004120| 69 64 65 5c 64 69 6d 65 | 6e 40 5c 64 69 6d 65 6e |ide\dime|n@\dimen|
|00004130| 40 69 69 0a 20 20 5c 65 | 64 65 66 5c 47 72 6f 74 |@ii. \e|def\Grot|
|00004140| 40 61 6e 67 6c 65 7b 5c | 6e 75 6d 62 65 72 5c 64 |@angle{\|number\d|
|00004150| 69 6d 65 6e 40 7d 7d 7d | 0a 25 20 20 20 20 5c 65 |imen@}}}|.% \e|
|00004160| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 0a |nd{macro|code}.%.|
|00004170| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|00004180| 6f 63 6f 64 65 7d 0a 25 | 3c 2f 70 61 63 6b 61 67 |ocode}.%|</packag|
|00004190| 65 3e 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |e>.% |\end{mac|
|000041a0| 72 6f 63 6f 64 65 7d 0a | 25 0a 25 20 5c 46 69 6e |rocode}.|%.% \Fin|
|000041b0| 61 6c 65 0a 25 0a | |ale.%. | |
+--------+-------------------------+-------------------------+--------+--------+